{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>年龄</th>\n",
       "      <th>身高</th>\n",
       "      <th>学历</th>\n",
       "      <th>工资</th>\n",
       "      <th>家乡</th>\n",
       "      <th>婚姻</th>\n",
       "      <th>住房</th>\n",
       "      <th>自我介绍</th>\n",
       "      <th>对象年龄</th>\n",
       "      <th>对象身高</th>\n",
       "      <th>...</th>\n",
       "      <th>平均工资</th>\n",
       "      <th>对象最低年龄</th>\n",
       "      <th>对象最高年龄</th>\n",
       "      <th>对象平均年龄</th>\n",
       "      <th>对象最低身高</th>\n",
       "      <th>对象最高身高</th>\n",
       "      <th>对象平均身高</th>\n",
       "      <th>对象最低薪水</th>\n",
       "      <th>对象最高薪水</th>\n",
       "      <th>对象平均薪水</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>22</td>\n",
       "      <td>162</td>\n",
       "      <td>高中</td>\n",
       "      <td>10000-20000</td>\n",
       "      <td>台湾省</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['来到', '希望', '朋友', '期待', '快快', '发信']</td>\n",
       "      <td>21 - 29</td>\n",
       "      <td>162 - 187</td>\n",
       "      <td>...</td>\n",
       "      <td>15000</td>\n",
       "      <td>21</td>\n",
       "      <td>29</td>\n",
       "      <td>25.0</td>\n",
       "      <td>162</td>\n",
       "      <td>187</td>\n",
       "      <td>174.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>31</td>\n",
       "      <td>161</td>\n",
       "      <td>大专</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>澳门特别行政区</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']</td>\n",
       "      <td>30 - 38</td>\n",
       "      <td>161 - 186</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>30</td>\n",
       "      <td>38</td>\n",
       "      <td>34.0</td>\n",
       "      <td>161</td>\n",
       "      <td>186</td>\n",
       "      <td>173.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>23</td>\n",
       "      <td>158</td>\n",
       "      <td>大专</td>\n",
       "      <td>10000-20000</td>\n",
       "      <td>台湾省</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['来到', '希望', '朋友', '期待', '快快', '发信']</td>\n",
       "      <td>21 - 29</td>\n",
       "      <td>158 - 183</td>\n",
       "      <td>...</td>\n",
       "      <td>15000</td>\n",
       "      <td>21</td>\n",
       "      <td>29</td>\n",
       "      <td>25.0</td>\n",
       "      <td>158</td>\n",
       "      <td>183</td>\n",
       "      <td>170.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>24</td>\n",
       "      <td>160</td>\n",
       "      <td>大专</td>\n",
       "      <td>10000-20000</td>\n",
       "      <td>台湾省</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['来到', '希望', '朋友', '期待', '快快', '发信']</td>\n",
       "      <td>23 - 31</td>\n",
       "      <td>160 - 185</td>\n",
       "      <td>...</td>\n",
       "      <td>15000</td>\n",
       "      <td>23</td>\n",
       "      <td>31</td>\n",
       "      <td>27.0</td>\n",
       "      <td>160</td>\n",
       "      <td>185</td>\n",
       "      <td>172.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>22</td>\n",
       "      <td>168</td>\n",
       "      <td>高中</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>香港特别行政区</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['希望', '过客', '盼望', '找到', '爱', '我会', '努力', '寻找'...</td>\n",
       "      <td>21 - 29</td>\n",
       "      <td>168 - 193</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>21</td>\n",
       "      <td>29</td>\n",
       "      <td>25.0</td>\n",
       "      <td>168</td>\n",
       "      <td>193</td>\n",
       "      <td>180.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 27 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "   年龄   身高  学历           工资       家乡  婚姻      住房  \\\n",
       "0  22  162  高中  10000-20000      台湾省  未婚  以后再告诉你   \n",
       "1  31  161  大专   5000-10000  澳门特别行政区  未婚  以后再告诉你   \n",
       "2  23  158  大专  10000-20000      台湾省  未婚  以后再告诉你   \n",
       "3  24  160  大专  10000-20000      台湾省  未婚  以后再告诉你   \n",
       "4  22  168  高中   5000-10000  香港特别行政区  未婚  以后再告诉你   \n",
       "\n",
       "                                                自我介绍     对象年龄       对象身高  ...  \\\n",
       "0               ['来到', '希望', '朋友', '期待', '快快', '发信']  21 - 29  162 - 187  ...   \n",
       "1   ['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']  30 - 38  161 - 186  ...   \n",
       "2               ['来到', '希望', '朋友', '期待', '快快', '发信']  21 - 29  158 - 183  ...   \n",
       "3               ['来到', '希望', '朋友', '期待', '快快', '发信']  23 - 31  160 - 185  ...   \n",
       "4  ['希望', '过客', '盼望', '找到', '爱', '我会', '努力', '寻找'...  21 - 29  168 - 193  ...   \n",
       "\n",
       "    平均工资 对象最低年龄 对象最高年龄 对象平均年龄 对象最低身高  对象最高身高  对象平均身高  对象最低薪水  对象最高薪水  对象平均薪水  \n",
       "0  15000     21     29   25.0    162     187   174.5       0       0       0  \n",
       "1   7500     30     38   34.0    161     186   173.5       0       0       0  \n",
       "2  15000     21     29   25.0    158     183   170.5       0       0       0  \n",
       "3  15000     23     31   27.0    160     185   172.5       0       0       0  \n",
       "4   7500     21     29   25.0    168     193   180.5       0       0       0  \n",
       "\n",
       "[5 rows x 27 columns]"
      ]
     },
     "execution_count": 3,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pandas as pd\n",
    "\n",
    "df = pd.read_excel(\"可视化.xlsx\",encoding=\"gbk\")\n",
    "df.head()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 家乡这部分数据和echartsMap所需要的数据不一致，需要把值处理下"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0           台湾\n",
       "1       澳门特别行政\n",
       "2           台湾\n",
       "3           台湾\n",
       "4       香港特别行政\n",
       "         ...  \n",
       "2822        北京\n",
       "2823     内蒙古自治\n",
       "2824        江苏\n",
       "2825        湖北\n",
       "2826        云南\n",
       "Name: 家乡, Length: 2827, dtype: object"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df['家乡'].str[0:-1]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [],
   "source": [
    "df['家乡'] = df['家乡'].str[0:-1]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>年龄</th>\n",
       "      <th>身高</th>\n",
       "      <th>学历</th>\n",
       "      <th>工资</th>\n",
       "      <th>家乡</th>\n",
       "      <th>婚姻</th>\n",
       "      <th>住房</th>\n",
       "      <th>自我介绍</th>\n",
       "      <th>对象年龄</th>\n",
       "      <th>对象身高</th>\n",
       "      <th>...</th>\n",
       "      <th>平均工资</th>\n",
       "      <th>对象最低年龄</th>\n",
       "      <th>对象最高年龄</th>\n",
       "      <th>对象平均年龄</th>\n",
       "      <th>对象最低身高</th>\n",
       "      <th>对象最高身高</th>\n",
       "      <th>对象平均身高</th>\n",
       "      <th>对象最低薪水</th>\n",
       "      <th>对象最高薪水</th>\n",
       "      <th>对象平均薪水</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>31</td>\n",
       "      <td>161</td>\n",
       "      <td>大专</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>澳门特别行政</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']</td>\n",
       "      <td>30 - 38</td>\n",
       "      <td>161 - 186</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>30</td>\n",
       "      <td>38</td>\n",
       "      <td>34.0</td>\n",
       "      <td>161</td>\n",
       "      <td>186</td>\n",
       "      <td>173.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>22</td>\n",
       "      <td>156</td>\n",
       "      <td>大专</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>澳门特别行政</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']</td>\n",
       "      <td>21 - 29</td>\n",
       "      <td>156 - 181</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>21</td>\n",
       "      <td>29</td>\n",
       "      <td>25.0</td>\n",
       "      <td>156</td>\n",
       "      <td>181</td>\n",
       "      <td>168.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>23</td>\n",
       "      <td>167</td>\n",
       "      <td>本科</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>澳门特别行政</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['来到', '希望', '朋友', '期待', '快快', '发信']</td>\n",
       "      <td>21 - 29</td>\n",
       "      <td>167 - 192</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>21</td>\n",
       "      <td>29</td>\n",
       "      <td>25.0</td>\n",
       "      <td>167</td>\n",
       "      <td>192</td>\n",
       "      <td>179.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>25</td>\n",
       "      <td>161</td>\n",
       "      <td>本科</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>澳门特别行政</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']</td>\n",
       "      <td>24 - 32</td>\n",
       "      <td>161 - 186</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>24</td>\n",
       "      <td>32</td>\n",
       "      <td>28.0</td>\n",
       "      <td>161</td>\n",
       "      <td>186</td>\n",
       "      <td>173.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>22</td>\n",
       "      <td>157</td>\n",
       "      <td>高中</td>\n",
       "      <td>10000-20000</td>\n",
       "      <td>澳门特别行政</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['希望', '过客', '盼望', '找到', '爱', '我会', '努力', '寻找'...</td>\n",
       "      <td>21 - 29</td>\n",
       "      <td>157 - 182</td>\n",
       "      <td>...</td>\n",
       "      <td>15000</td>\n",
       "      <td>21</td>\n",
       "      <td>29</td>\n",
       "      <td>25.0</td>\n",
       "      <td>157</td>\n",
       "      <td>182</td>\n",
       "      <td>169.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1715</th>\n",
       "      <td>29</td>\n",
       "      <td>169</td>\n",
       "      <td>高中</td>\n",
       "      <td>&gt;50000</td>\n",
       "      <td>澳门特别行政</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后告诉你</td>\n",
       "      <td>['爱', '逞强', '不愿', '说出', '爱', '不肯', '表露出', '害怕'...</td>\n",
       "      <td>23 - 34</td>\n",
       "      <td>160 - 211</td>\n",
       "      <td>...</td>\n",
       "      <td>50000</td>\n",
       "      <td>23</td>\n",
       "      <td>34</td>\n",
       "      <td>28.5</td>\n",
       "      <td>160</td>\n",
       "      <td>211</td>\n",
       "      <td>185.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1716</th>\n",
       "      <td>29</td>\n",
       "      <td>151</td>\n",
       "      <td>初中</td>\n",
       "      <td>10000-20000</td>\n",
       "      <td>澳门特别行政</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后告诉你</td>\n",
       "      <td>['希望', '过客', '盼望', '建成', '家园', '期待', '到来']</td>\n",
       "      <td>23 - 34</td>\n",
       "      <td>151 - 171</td>\n",
       "      <td>...</td>\n",
       "      <td>15000</td>\n",
       "      <td>23</td>\n",
       "      <td>34</td>\n",
       "      <td>28.5</td>\n",
       "      <td>151</td>\n",
       "      <td>171</td>\n",
       "      <td>161.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1850</th>\n",
       "      <td>27</td>\n",
       "      <td>167</td>\n",
       "      <td>大专</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>澳门特别行政</td>\n",
       "      <td>未婚</td>\n",
       "      <td>已购房(有贷款)</td>\n",
       "      <td>['希望', '过客', '盼望', '找到', '爱', '我会', '努力', '寻找'...</td>\n",
       "      <td>27 - 35</td>\n",
       "      <td>170 - 192</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>27</td>\n",
       "      <td>35</td>\n",
       "      <td>31.0</td>\n",
       "      <td>170</td>\n",
       "      <td>192</td>\n",
       "      <td>181.0</td>\n",
       "      <td>5000</td>\n",
       "      <td>10000</td>\n",
       "      <td>7500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2149</th>\n",
       "      <td>25</td>\n",
       "      <td>170</td>\n",
       "      <td>本科</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>澳门特别行政</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']</td>\n",
       "      <td>23 - 31</td>\n",
       "      <td>170 - 195</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>23</td>\n",
       "      <td>31</td>\n",
       "      <td>27.0</td>\n",
       "      <td>170</td>\n",
       "      <td>195</td>\n",
       "      <td>182.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2763</th>\n",
       "      <td>29</td>\n",
       "      <td>169</td>\n",
       "      <td>大专</td>\n",
       "      <td>10000-20000</td>\n",
       "      <td>澳门特别行政</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']</td>\n",
       "      <td>27 - 35</td>\n",
       "      <td>169 - 194</td>\n",
       "      <td>...</td>\n",
       "      <td>15000</td>\n",
       "      <td>27</td>\n",
       "      <td>35</td>\n",
       "      <td>31.0</td>\n",
       "      <td>169</td>\n",
       "      <td>194</td>\n",
       "      <td>181.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>130 rows × 27 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      年龄   身高  学历           工资      家乡  婚姻        住房  \\\n",
       "1     31  161  大专   5000-10000  澳门特别行政  未婚    以后再告诉你   \n",
       "32    22  156  大专   5000-10000  澳门特别行政  未婚    以后再告诉你   \n",
       "33    23  167  本科   5000-10000  澳门特别行政  未婚    以后再告诉你   \n",
       "35    25  161  本科   5000-10000  澳门特别行政  未婚    以后再告诉你   \n",
       "36    22  157  高中  10000-20000  澳门特别行政  未婚    以后再告诉你   \n",
       "...   ..  ...  ..          ...     ...  ..       ...   \n",
       "1715  29  169  高中       >50000  澳门特别行政  未婚     以后告诉你   \n",
       "1716  29  151  初中  10000-20000  澳门特别行政  未婚     以后告诉你   \n",
       "1850  27  167  大专   5000-10000  澳门特别行政  未婚  已购房(有贷款)   \n",
       "2149  25  170  本科   5000-10000  澳门特别行政  未婚    以后再告诉你   \n",
       "2763  29  169  大专  10000-20000  澳门特别行政  未婚    以后再告诉你   \n",
       "\n",
       "                                                   自我介绍     对象年龄       对象身高  \\\n",
       "1      ['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']  30 - 38  161 - 186   \n",
       "32     ['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']  21 - 29  156 - 181   \n",
       "33                 ['来到', '希望', '朋友', '期待', '快快', '发信']  21 - 29  167 - 192   \n",
       "35     ['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']  24 - 32  161 - 186   \n",
       "36    ['希望', '过客', '盼望', '找到', '爱', '我会', '努力', '寻找'...  21 - 29  157 - 182   \n",
       "...                                                 ...      ...        ...   \n",
       "1715  ['爱', '逞强', '不愿', '说出', '爱', '不肯', '表露出', '害怕'...  23 - 34  160 - 211   \n",
       "1716         ['希望', '过客', '盼望', '建成', '家园', '期待', '到来']  23 - 34  151 - 171   \n",
       "1850  ['希望', '过客', '盼望', '找到', '爱', '我会', '努力', '寻找'...  27 - 35  170 - 192   \n",
       "2149   ['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']  23 - 31  170 - 195   \n",
       "2763   ['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']  27 - 35  169 - 194   \n",
       "\n",
       "      ...   平均工资 对象最低年龄 对象最高年龄 对象平均年龄 对象最低身高  对象最高身高  对象平均身高  对象最低薪水  对象最高薪水  \\\n",
       "1     ...   7500     30     38   34.0    161     186   173.5       0       0   \n",
       "32    ...   7500     21     29   25.0    156     181   168.5       0       0   \n",
       "33    ...   7500     21     29   25.0    167     192   179.5       0       0   \n",
       "35    ...   7500     24     32   28.0    161     186   173.5       0       0   \n",
       "36    ...  15000     21     29   25.0    157     182   169.5       0       0   \n",
       "...   ...    ...    ...    ...    ...    ...     ...     ...     ...     ...   \n",
       "1715  ...  50000     23     34   28.5    160     211   185.5       0       0   \n",
       "1716  ...  15000     23     34   28.5    151     171   161.0       0       0   \n",
       "1850  ...   7500     27     35   31.0    170     192   181.0    5000   10000   \n",
       "2149  ...   7500     23     31   27.0    170     195   182.5       0       0   \n",
       "2763  ...  15000     27     35   31.0    169     194   181.5       0       0   \n",
       "\n",
       "      对象平均薪水  \n",
       "1          0  \n",
       "32         0  \n",
       "33         0  \n",
       "35         0  \n",
       "36         0  \n",
       "...      ...  \n",
       "1715       0  \n",
       "1716       0  \n",
       "1850    7500  \n",
       "2149       0  \n",
       "2763       0  \n",
       "\n",
       "[130 rows x 27 columns]"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df[df['家乡'] == '澳门特别行政']\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "indexs = df[df['家乡'] == '澳门特别行政'].index\n",
    "df.loc[indexs, '家乡'] = '澳门'\n",
    "\n",
    "indexs = df[df['家乡'] == '香港特别行政'].index\n",
    "df.loc[indexs, '家乡'] = '香港'\n",
    "\n",
    "indexs = df[df['家乡'] == '内蒙古自治'].index\n",
    "df.loc[indexs, '家乡'] = '内蒙古'\n",
    "\n",
    "indexs = df[df['家乡'] == '宁夏'].index\n",
    "df.loc[indexs, '家乡'] = '宁夏'\n",
    "\n",
    "indexs = df[df['家乡'] == '广西'].index\n",
    "df.loc[indexs, '家乡'] = '广西'\n",
    "\n",
    "indexs = df[df['家乡'] == '西藏自治'].index\n",
    "df.loc[indexs, '家乡'] = '西藏'\n",
    "\n",
    "indexs = df[df['家乡'] == '新疆自治'].index\n",
    "df.loc[indexs, '家乡'] = '新疆'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "from pyecharts.charts import Bar\n",
    "import pyecharts.options as opts\n",
    "from pyecharts import options"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "西藏      246\n",
       "以后告诉    206\n",
       "辽宁      151\n",
       "台湾      149\n",
       "内蒙古     131\n",
       "澳门      130\n",
       "黑龙江     116\n",
       "河北      113\n",
       "吉林      109\n",
       "山西      100\n",
       "Name: 家乡, dtype: int64"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "home = df[\"家乡\"].value_counts()[:10]\n",
    "home"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "name = home.index.tolist()\n",
    "value = home.values.tolist()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 女生的地域分布情况"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[('西藏', 246), ('以后告诉', 206), ('辽宁', 151), ('台湾', 149), ('内蒙古', 131), ('澳门', 130), ('黑龙江', 116), ('河北', 113), ('吉林', 109), ('山西', 100), ('北京', 100), ('湖南', 95), ('江苏', 87), ('上海', 82), ('香港', 77), ('云南', 72), ('江西', 70), ('山东', 59), ('浙江', 57), ('陕西', 54), ('青海', 49), ('广东', 49), ('湖北', 47), ('安徽', 46), ('四川', 45), ('海南', 44), ('贵州', 43), ('天津', 43), ('福建', 40), ('甘肃', 35), ('河南', 33), ('新疆', 33), ('宁夏回族自治', 28), ('广西壮族自治', 24), ('重庆', 23), ('钓鱼', 10), ('新加', 4), ('日', 3), ('首尔（汉城', 3), ('Ontari', 3), ('澳大利', 2), ('Baden-Wurttember', 1), ('Bayer', 1), ('维多利亚', 1), ('Basse-Normandi', 1), ('Englan', 1), ('德', 1), ('曼', 1), ('Stockhol', 1), ('英', 1), ('缅', 1), ('美', 1), ('Waikat', 1), ('神奈川', 1), ('越', 1), ('新南威尔士', 1), ('加拿', 1)]\n"
     ]
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\yujiaqi\\anaconda3\\envs\\tensorflow\\lib\\site-packages\\pyecharts\\charts\\chart.py:14: PendingDeprecationWarning: pyecharts 所有图表类型将在 v1.9.0 版本开始强制使用 ChartItem 进行数据项配置 :)\n",
      "  super().__init__(init_opts=init_opts)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'china':'https://assets.pyecharts.org/assets/maps/china'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"da59b39921c44728ad4302eb5874480d\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'china'], function(echarts) {\n",
       "                var chart_da59b39921c44728ad4302eb5874480d = echarts.init(\n",
       "                    document.getElementById('da59b39921c44728ad4302eb5874480d'), 'white', {renderer: 'canvas'});\n",
       "                var option_da59b39921c44728ad4302eb5874480d = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"map\",\n",
       "            \"name\": \"\\u5355\\u8eab\\u59b9\\u5b50\\u533a\\u57df\\u5206\\u5e03\",\n",
       "            \"label\": {\n",
       "                \"show\": true,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"mapType\": \"china\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"\\u897f\\u85cf\",\n",
       "                    \"value\": 246\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4ee5\\u540e\\u544a\\u8bc9\",\n",
       "                    \"value\": 206\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8fbd\\u5b81\",\n",
       "                    \"value\": 151\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u53f0\\u6e7e\",\n",
       "                    \"value\": 149\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5185\\u8499\\u53e4\",\n",
       "                    \"value\": 131\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6fb3\\u95e8\",\n",
       "                    \"value\": 130\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9ed1\\u9f99\\u6c5f\",\n",
       "                    \"value\": 116\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6cb3\\u5317\",\n",
       "                    \"value\": 113\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5409\\u6797\",\n",
       "                    \"value\": 109\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5c71\\u897f\",\n",
       "                    \"value\": 100\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5317\\u4eac\",\n",
       "                    \"value\": 100\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6e56\\u5357\",\n",
       "                    \"value\": 95\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6c5f\\u82cf\",\n",
       "                    \"value\": 87\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e0a\\u6d77\",\n",
       "                    \"value\": 82\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9999\\u6e2f\",\n",
       "                    \"value\": 77\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e91\\u5357\",\n",
       "                    \"value\": 72\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6c5f\\u897f\",\n",
       "                    \"value\": 70\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5c71\\u4e1c\",\n",
       "                    \"value\": 59\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6d59\\u6c5f\",\n",
       "                    \"value\": 57\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9655\\u897f\",\n",
       "                    \"value\": 54\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9752\\u6d77\",\n",
       "                    \"value\": 49\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e7f\\u4e1c\",\n",
       "                    \"value\": 49\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6e56\\u5317\",\n",
       "                    \"value\": 47\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5b89\\u5fbd\",\n",
       "                    \"value\": 46\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u56db\\u5ddd\",\n",
       "                    \"value\": 45\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6d77\\u5357\",\n",
       "                    \"value\": 44\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8d35\\u5dde\",\n",
       "                    \"value\": 43\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5929\\u6d25\",\n",
       "                    \"value\": 43\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u798f\\u5efa\",\n",
       "                    \"value\": 40\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7518\\u8083\",\n",
       "                    \"value\": 35\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6cb3\\u5357\",\n",
       "                    \"value\": 33\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65b0\\u7586\",\n",
       "                    \"value\": 33\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5b81\\u590f\\u56de\\u65cf\\u81ea\\u6cbb\",\n",
       "                    \"value\": 28\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e7f\\u897f\\u58ee\\u65cf\\u81ea\\u6cbb\",\n",
       "                    \"value\": 24\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u91cd\\u5e86\",\n",
       "                    \"value\": 23\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9493\\u9c7c\",\n",
       "                    \"value\": 10\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65b0\\u52a0\",\n",
       "                    \"value\": 4\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65e5\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9996\\u5c14\\uff08\\u6c49\\u57ce\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Ontari\",\n",
       "                    \"value\": 3\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6fb3\\u5927\\u5229\",\n",
       "                    \"value\": 2\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Baden-Wurttember\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Bayer\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ef4\\u591a\\u5229\\u4e9a\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Basse-Normandi\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Englan\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5fb7\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u66fc\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Stockhol\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u82f1\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7f05\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7f8e\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"Waikat\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u795e\\u5948\\u5ddd\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8d8a\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65b0\\u5357\\u5a01\\u5c14\\u58eb\",\n",
       "                    \"value\": 1\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u52a0\\u62ff\",\n",
       "                    \"value\": 1\n",
       "                }\n",
       "            ],\n",
       "            \"roam\": true,\n",
       "            \"zoom\": 1,\n",
       "            \"showLegendSymbol\": true,\n",
       "            \"emphasis\": {}\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u5355\\u8eab\\u59b9\\u5b50\\u533a\\u57df\\u5206\\u5e03\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u5355\\u8eab\\u59b9\\u5b50\\u533a\\u57df\\u5206\\u5e03\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"visualMap\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"continuous\",\n",
       "        \"min\": 0,\n",
       "        \"max\": 300,\n",
       "        \"inRange\": {\n",
       "            \"color\": [\n",
       "                \"#50a3ba\",\n",
       "                \"#eac763\",\n",
       "                \"#d94e5d\"\n",
       "            ]\n",
       "        },\n",
       "        \"calculable\": true,\n",
       "        \"inverse\": false,\n",
       "        \"splitNumber\": 5,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"showLabel\": true,\n",
       "        \"itemWidth\": 20,\n",
       "        \"itemHeight\": 140,\n",
       "        \"borderWidth\": 0\n",
       "    }\n",
       "};\n",
       "                chart_da59b39921c44728ad4302eb5874480d.setOption(option_da59b39921c44728ad4302eb5874480d);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x28f74b00a60>"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts.charts import Map\n",
    "from pyecharts import options as opts\n",
    "\n",
    "city = df[\"家乡\"].value_counts().index.tolist()\n",
    "data = df[\"家乡\"].value_counts().values.tolist()\n",
    "\n",
    "zip_data = [(i,j) for i,j in zip(city,data)]\n",
    "print(zip_data)\n",
    "\n",
    "china = (\n",
    "    Map()\n",
    "    .add('单身妹子区域分布', [(i,j) for i,j in zip(city,data)], 'china')\n",
    "    .set_global_opts(visualmap_opts=opts.VisualMapOpts(min_=0, max_=300))\n",
    ")\n",
    "china.render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 女生的学历分布情况"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\yujiaqi\\anaconda3\\envs\\tensorflow\\lib\\site-packages\\pyecharts\\charts\\chart.py:14: PendingDeprecationWarning: pyecharts 所有图表类型将在 v1.9.0 版本开始强制使用 ChartItem 进行数据项配置 :)\n",
      "  super().__init__(init_opts=init_opts)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"902ad6543a434957a748b7220dcf6d3a\" style=\"width:1000px; height:350px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_902ad6543a434957a748b7220dcf6d3a = echarts.init(\n",
       "                    document.getElementById('902ad6543a434957a748b7220dcf6d3a'), 'white', {renderer: 'canvas'});\n",
       "                var option_902ad6543a434957a748b7220dcf6d3a = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u6c42\\u5076\\u5973\\u6027\\u5b66\\u5386\\u60c5\\u51b5\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                739,\n",
       "                626,\n",
       "                523,\n",
       "                443,\n",
       "                305,\n",
       "                119,\n",
       "                72\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": true,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u6c42\\u5076\\u5973\\u6027\\u5b66\\u5386\\u60c5\\u51b5\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u6c42\\u5076\\u5973\\u6027\\u5b66\\u5386\\u60c5\\u51b5\": true\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"\\u5927\\u4e13\",\n",
       "                \"\\u672c\\u79d1\",\n",
       "                \"\\u9ad8\\u4e2d\",\n",
       "                \"\\u521d\\u4e2d\",\n",
       "                \"\\u4e2d\\u4e13/\\u804c\\u9ad8/\\u6280\\u6821\",\n",
       "                \"\\u7855\\u58eb\",\n",
       "                \"\\u535a\\u58eb\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ]\n",
       "};\n",
       "                chart_902ad6543a434957a748b7220dcf6d3a.setOption(option_902ad6543a434957a748b7220dcf6d3a);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x28f7533fd00>"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts.charts import Bar\n",
    "import pyecharts.options as opts\n",
    "from pyecharts import options\n",
    "\n",
    "\n",
    "name = df[\"学历\"].value_counts().index.tolist()\n",
    "value = df[\"学历\"].value_counts().values.tolist()\n",
    "\n",
    "bar4 = (\n",
    "    Bar(init_opts=opts.InitOpts(width='1000px', height='350px'))\n",
    "    .add_xaxis(xaxis_data=name)\n",
    "    .add_yaxis(series_name='求偶女性学历情况', y_axis=value)\n",
    "    \n",
    "    )\n",
    "bar4.render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 这里没处理好\n",
    "\n",
    "# name = df[\"对象学历\"].value_counts().index.tolist()\n",
    "# value = df[\"对象学历\"].value_counts().values.tolist()\n",
    "\n",
    "# bar4 = (\n",
    "#     Bar(init_opts=opts.InitOpts(width='1000px', height='350px'))\n",
    "#     .add_xaxis(xaxis_data=name)\n",
    "#     .add_yaxis(series_name='要求男性对象的学历情况', y_axis=value)\n",
    "    \n",
    "#     )\n",
    "# bar4.render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "160    416\n",
       "165    229\n",
       "163    190\n",
       "162    156\n",
       "168    139\n",
       "164    133\n",
       "166    126\n",
       "167    124\n",
       "158    118\n",
       "161    110\n",
       "Name: 身高, dtype: int64"
      ]
     },
     "execution_count": 36,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "height = df[\"身高\"].value_counts()[:10]\n",
    "height"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 女生相应身高数量前10"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\yujiaqi\\anaconda3\\envs\\tensorflow\\lib\\site-packages\\pyecharts\\charts\\chart.py:14: PendingDeprecationWarning: pyecharts 所有图表类型将在 v1.9.0 版本开始强制使用 ChartItem 进行数据项配置 :)\n",
      "  super().__init__(init_opts=init_opts)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"f1022bfa4fa648018484f78d18aedf47\" style=\"width:720px; height:320px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_f1022bfa4fa648018484f78d18aedf47 = echarts.init(\n",
       "                    document.getElementById('f1022bfa4fa648018484f78d18aedf47'), 'white', {renderer: 'canvas'});\n",
       "                var option_f1022bfa4fa648018484f78d18aedf47 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u5355\\u8eab\\u5973\\u6027\\u8eab\\u9ad8Top10\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                416,\n",
       "                229,\n",
       "                190,\n",
       "                156,\n",
       "                139,\n",
       "                133,\n",
       "                126,\n",
       "                124,\n",
       "                118,\n",
       "                110\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": true,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u5355\\u8eab\\u5973\\u6027\\u8eab\\u9ad8Top10\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u5355\\u8eab\\u5973\\u6027\\u8eab\\u9ad8Top10\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"axisLabel\": {\n",
       "                \"rotate\": 60\n",
       "            },\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                160,\n",
       "                165,\n",
       "                163,\n",
       "                162,\n",
       "                168,\n",
       "                164,\n",
       "                166,\n",
       "                167,\n",
       "                158,\n",
       "                161\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"dataZoom\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"type\": \"slider\",\n",
       "            \"realtime\": true,\n",
       "            \"start\": 20,\n",
       "            \"end\": 80,\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"zoomLock\": false,\n",
       "            \"bottom\": 0,\n",
       "            \"filterMode\": \"filter\"\n",
       "        }\n",
       "    ]\n",
       "};\n",
       "                chart_f1022bfa4fa648018484f78d18aedf47.setOption(option_f1022bfa4fa648018484f78d18aedf47);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x28f7533fb50>"
      ]
     },
     "execution_count": 37,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts.charts import Bar\n",
    "import pyecharts.options as opts\n",
    "from pyecharts import options\n",
    "\n",
    "name = height.index.tolist()\n",
    "value = height.values.tolist()\n",
    "\n",
    "bar2 = (Bar(init_opts=opts.InitOpts(width='720px', height='320px'))\n",
    "    .add_xaxis(xaxis_data=name)\n",
    "    .add_yaxis(series_name='单身女性身高Top10', y_axis=value)\n",
    "    # 设置坐标轴标签\n",
    "    .set_global_opts(xaxis_opts=opts.AxisOpts(axislabel_opts={\"rotate\":60}),\n",
    "                    # 柱形图使用滑块效果\n",
    "                    datazoom_opts=[opts.DataZoomOpts(pos_bottom=0)])\n",
    "    )\n",
    "\n",
    "bar2.render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "24    146\n",
       "30    145\n",
       "27    136\n",
       "29    135\n",
       "31    135\n",
       "26    131\n",
       "32    125\n",
       "28    123\n",
       "25    109\n",
       "33     94\n",
       "23     92\n",
       "22     88\n",
       "34     78\n",
       "36     61\n",
       "35     59\n",
       "50     57\n",
       "37     56\n",
       "38     48\n",
       "57     47\n",
       "55     46\n",
       "Name: 年龄, dtype: int64"
      ]
     },
     "execution_count": 16,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "age = df[\"年龄\"].value_counts()[:20]\n",
    "age"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 求偶单身女性数量前20"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\yujiaqi\\anaconda3\\envs\\tensorflow\\lib\\site-packages\\pyecharts\\charts\\chart.py:14: PendingDeprecationWarning: pyecharts 所有图表类型将在 v1.9.0 版本开始强制使用 ChartItem 进行数据项配置 :)\n",
      "  super().__init__(init_opts=init_opts)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"de38cdd276d441999a34f5b6db62bcb8\" style=\"width:1000px; height:420px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_de38cdd276d441999a34f5b6db62bcb8 = echarts.init(\n",
       "                    document.getElementById('de38cdd276d441999a34f5b6db62bcb8'), 'white', {renderer: 'canvas'});\n",
       "                var option_de38cdd276d441999a34f5b6db62bcb8 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u5355\\u8eab\\u5973\\u6027\\u5e74\\u9f84Top20\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                146,\n",
       "                145,\n",
       "                136,\n",
       "                135,\n",
       "                135,\n",
       "                131,\n",
       "                125,\n",
       "                123,\n",
       "                109,\n",
       "                94,\n",
       "                92,\n",
       "                88,\n",
       "                78,\n",
       "                61,\n",
       "                59,\n",
       "                57,\n",
       "                56,\n",
       "                48,\n",
       "                47,\n",
       "                46\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": true,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u5355\\u8eab\\u5973\\u6027\\u5e74\\u9f84Top20\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u5355\\u8eab\\u5973\\u6027\\u5e74\\u9f84Top20\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                24,\n",
       "                30,\n",
       "                27,\n",
       "                29,\n",
       "                31,\n",
       "                26,\n",
       "                32,\n",
       "                28,\n",
       "                25,\n",
       "                33,\n",
       "                23,\n",
       "                22,\n",
       "                34,\n",
       "                36,\n",
       "                35,\n",
       "                50,\n",
       "                37,\n",
       "                38,\n",
       "                57,\n",
       "                55\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"itemSize\": 15,\n",
       "        \"itemGap\": 10,\n",
       "        \"left\": \"80%\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"type\": \"png\",\n",
       "                \"backgroundColor\": \"auto\",\n",
       "                \"connectedBackgroundColor\": \"#fff\",\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u4fdd\\u5b58\\u4e3a\\u56fe\\u7247\",\n",
       "                \"pixelRatio\": 1\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u8fd8\\u539f\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                \"readOnly\": false,\n",
       "                \"lang\": [\n",
       "                    \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                    \"\\u5173\\u95ed\",\n",
       "                    \"\\u5237\\u65b0\"\n",
       "                ],\n",
       "                \"backgroundColor\": \"#fff\",\n",
       "                \"textareaColor\": \"#fff\",\n",
       "                \"textareaBorderColor\": \"#333\",\n",
       "                \"textColor\": \"#000\",\n",
       "                \"buttonColor\": \"#c23531\",\n",
       "                \"buttonTextColor\": \"#fff\"\n",
       "            },\n",
       "            \"dataZoom\": {\n",
       "                \"show\": true,\n",
       "                \"title\": {\n",
       "                    \"zoom\": \"\\u533a\\u57df\\u7f29\\u653e\",\n",
       "                    \"back\": \"\\u533a\\u57df\\u7f29\\u653e\\u8fd8\\u539f\"\n",
       "                },\n",
       "                \"icon\": {},\n",
       "                \"xAxisIndex\": false,\n",
       "                \"yAxisIndex\": false,\n",
       "                \"filterMode\": \"filter\"\n",
       "            },\n",
       "            \"magicType\": {\n",
       "                \"show\": true,\n",
       "                \"type\": [\n",
       "                    \"line\",\n",
       "                    \"bar\",\n",
       "                    \"stack\",\n",
       "                    \"tiled\"\n",
       "                ],\n",
       "                \"title\": {\n",
       "                    \"line\": \"\\u5207\\u6362\\u4e3a\\u6298\\u7ebf\\u56fe\",\n",
       "                    \"bar\": \"\\u5207\\u6362\\u4e3a\\u67f1\\u72b6\\u56fe\",\n",
       "                    \"stack\": \"\\u5207\\u6362\\u4e3a\\u5806\\u53e0\",\n",
       "                    \"tiled\": \"\\u5207\\u6362\\u4e3a\\u5e73\\u94fa\"\n",
       "                },\n",
       "                \"icon\": {}\n",
       "            },\n",
       "            \"brush\": {\n",
       "                \"icon\": {},\n",
       "                \"title\": {\n",
       "                    \"rect\": \"\\u77e9\\u5f62\\u9009\\u62e9\",\n",
       "                    \"polygon\": \"\\u5708\\u9009\",\n",
       "                    \"lineX\": \"\\u6a2a\\u5411\\u9009\\u62e9\",\n",
       "                    \"lineY\": \"\\u7eb5\\u5411\\u9009\\u62e9\",\n",
       "                    \"keep\": \"\\u4fdd\\u6301\\u9009\\u62e9\",\n",
       "                    \"clear\": \"\\u6e05\\u9664\\u9009\\u62e9\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    }\n",
       "};\n",
       "                chart_de38cdd276d441999a34f5b6db62bcb8.setOption(option_de38cdd276d441999a34f5b6db62bcb8);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x28f752bea30>"
      ]
     },
     "execution_count": 17,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "\n",
    "import pyecharts.options as opts\n",
    "from pyecharts import options\n",
    "from pyecharts.charts import Bar\n",
    "\n",
    "\n",
    "name = age.index.tolist()\n",
    "value = age.values.tolist()\n",
    "\n",
    "\n",
    "bar1 = (        \n",
    "    Bar(init_opts=opts.InitOpts(width='1000px', height='420px')).add_xaxis(xaxis_data=name)\n",
    "    .add_yaxis(series_name='单身女性年龄Top20', y_axis=value)\n",
    "    .set_global_opts(title_opts=opts.TitleOpts(title=\"可切换查看曲线图\"),\n",
    "                    legend_opts=opts.LegendOpts(is_show=True))\n",
    ")\n",
    "\n",
    "bar1.set_global_opts(toolbox_opts=opts.ToolboxOpts(is_show=True))\n",
    "bar1.render_notebook()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [],
   "source": [
    "sort_age = df.groupby(by='年龄').size()[0:20]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 对18-37岁女生求偶数量分析"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\yujiaqi\\anaconda3\\envs\\tensorflow\\lib\\site-packages\\pyecharts\\charts\\chart.py:14: PendingDeprecationWarning: pyecharts 所有图表类型将在 v1.9.0 版本开始强制使用 ChartItem 进行数据项配置 :)\n",
      "  super().__init__(init_opts=init_opts)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"d8bf57a10cc34eadb98246489f3ae0e2\" style=\"width:1000px; height:420px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_d8bf57a10cc34eadb98246489f3ae0e2 = echarts.init(\n",
       "                    document.getElementById('d8bf57a10cc34eadb98246489f3ae0e2'), 'white', {renderer: 'canvas'});\n",
       "                var option_d8bf57a10cc34eadb98246489f3ae0e2 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"18-37\\u5c81\\u5355\\u8eab\\u5973\\u6027\\u6570\\u91cf\\u5206\\u6790\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                27,\n",
       "                21,\n",
       "                17,\n",
       "                28,\n",
       "                88,\n",
       "                92,\n",
       "                146,\n",
       "                109,\n",
       "                131,\n",
       "                136,\n",
       "                123,\n",
       "                135,\n",
       "                145,\n",
       "                135,\n",
       "                125,\n",
       "                94,\n",
       "                78,\n",
       "                59,\n",
       "                61,\n",
       "                56\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": true,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"18-37\\u5c81\\u5355\\u8eab\\u5973\\u6027\\u6570\\u91cf\\u5206\\u6790\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"18-37\\u5c81\\u5355\\u8eab\\u5973\\u6027\\u6570\\u91cf\\u5206\\u6790\": true\n",
       "            },\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                18,\n",
       "                19,\n",
       "                20,\n",
       "                21,\n",
       "                22,\n",
       "                23,\n",
       "                24,\n",
       "                25,\n",
       "                26,\n",
       "                27,\n",
       "                28,\n",
       "                29,\n",
       "                30,\n",
       "                31,\n",
       "                32,\n",
       "                33,\n",
       "                34,\n",
       "                35,\n",
       "                36,\n",
       "                37\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"horizontal\",\n",
       "        \"itemSize\": 15,\n",
       "        \"itemGap\": 10,\n",
       "        \"left\": \"80%\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"type\": \"png\",\n",
       "                \"backgroundColor\": \"auto\",\n",
       "                \"connectedBackgroundColor\": \"#fff\",\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u4fdd\\u5b58\\u4e3a\\u56fe\\u7247\",\n",
       "                \"pixelRatio\": 1\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u8fd8\\u539f\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                \"readOnly\": false,\n",
       "                \"lang\": [\n",
       "                    \"\\u6570\\u636e\\u89c6\\u56fe\",\n",
       "                    \"\\u5173\\u95ed\",\n",
       "                    \"\\u5237\\u65b0\"\n",
       "                ],\n",
       "                \"backgroundColor\": \"#fff\",\n",
       "                \"textareaColor\": \"#fff\",\n",
       "                \"textareaBorderColor\": \"#333\",\n",
       "                \"textColor\": \"#000\",\n",
       "                \"buttonColor\": \"#c23531\",\n",
       "                \"buttonTextColor\": \"#fff\"\n",
       "            },\n",
       "            \"dataZoom\": {\n",
       "                \"show\": true,\n",
       "                \"title\": {\n",
       "                    \"zoom\": \"\\u533a\\u57df\\u7f29\\u653e\",\n",
       "                    \"back\": \"\\u533a\\u57df\\u7f29\\u653e\\u8fd8\\u539f\"\n",
       "                },\n",
       "                \"icon\": {},\n",
       "                \"xAxisIndex\": false,\n",
       "                \"yAxisIndex\": false,\n",
       "                \"filterMode\": \"filter\"\n",
       "            },\n",
       "            \"magicType\": {\n",
       "                \"show\": true,\n",
       "                \"type\": [\n",
       "                    \"line\",\n",
       "                    \"bar\",\n",
       "                    \"stack\",\n",
       "                    \"tiled\"\n",
       "                ],\n",
       "                \"title\": {\n",
       "                    \"line\": \"\\u5207\\u6362\\u4e3a\\u6298\\u7ebf\\u56fe\",\n",
       "                    \"bar\": \"\\u5207\\u6362\\u4e3a\\u67f1\\u72b6\\u56fe\",\n",
       "                    \"stack\": \"\\u5207\\u6362\\u4e3a\\u5806\\u53e0\",\n",
       "                    \"tiled\": \"\\u5207\\u6362\\u4e3a\\u5e73\\u94fa\"\n",
       "                },\n",
       "                \"icon\": {}\n",
       "            },\n",
       "            \"brush\": {\n",
       "                \"icon\": {},\n",
       "                \"title\": {\n",
       "                    \"rect\": \"\\u77e9\\u5f62\\u9009\\u62e9\",\n",
       "                    \"polygon\": \"\\u5708\\u9009\",\n",
       "                    \"lineX\": \"\\u6a2a\\u5411\\u9009\\u62e9\",\n",
       "                    \"lineY\": \"\\u7eb5\\u5411\\u9009\\u62e9\",\n",
       "                    \"keep\": \"\\u4fdd\\u6301\\u9009\\u62e9\",\n",
       "                    \"clear\": \"\\u6e05\\u9664\\u9009\\u62e9\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    }\n",
       "};\n",
       "                chart_d8bf57a10cc34eadb98246489f3ae0e2.setOption(option_d8bf57a10cc34eadb98246489f3ae0e2);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x28f75383c40>"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pyecharts.options as opts\n",
    "from pyecharts import options\n",
    "from pyecharts.charts import Bar\n",
    "\n",
    "\n",
    "name = sort_age.index.tolist()\n",
    "value = sort_age.values.tolist()\n",
    "\n",
    "\n",
    "bar3 = (        \n",
    "    Bar(init_opts=opts.InitOpts(width='1000px', height='420px')).add_xaxis(xaxis_data=name)\n",
    "    .add_yaxis(series_name='18-37岁单身女性数量分析', y_axis=value)\n",
    "    .set_global_opts(title_opts=opts.TitleOpts(title=\"可切换查看曲线图\"),\n",
    "                    legend_opts=opts.LegendOpts(is_show=True))\n",
    ")\n",
    "\n",
    "bar3.set_global_opts(toolbox_opts=opts.ToolboxOpts(is_show=True))\n",
    "bar3.render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 女生喜欢男生的标准身高前10"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "metadata": {},
   "outputs": [],
   "source": [
    "name = df[\"对象平均身高\"].value_counts().index[:10].tolist()\n",
    "value = df[\"对象平均身高\"].value_counts().values[:10].tolist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\yujiaqi\\anaconda3\\envs\\tensorflow\\lib\\site-packages\\pyecharts\\charts\\chart.py:14: PendingDeprecationWarning: pyecharts 所有图表类型将在 v1.9.0 版本开始强制使用 ChartItem 进行数据项配置 :)\n",
      "  super().__init__(init_opts=init_opts)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"b5b91ab39d4c44f1aac17d830ac32805\" style=\"width:750px; height:350px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_b5b91ab39d4c44f1aac17d830ac32805 = echarts.init(\n",
       "                    document.getElementById('b5b91ab39d4c44f1aac17d830ac32805'), 'white', {renderer: 'canvas'});\n",
       "                var option_b5b91ab39d4c44f1aac17d830ac32805 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"bar\",\n",
       "            \"name\": \"\\u5bf9\\u8c61\\u7537\\u6027\\u8eab\\u9ad8\\u5747\\u503cTop10\\uff08\\u6837\\u672c\\u6574\\u4f53\\u5747\\u503c\\uff1a178cm\\uff09\",\n",
       "            \"legendHoverLink\": true,\n",
       "            \"data\": [\n",
       "                573,\n",
       "                454,\n",
       "                180,\n",
       "                136,\n",
       "                90,\n",
       "                86,\n",
       "                81,\n",
       "                74,\n",
       "                65,\n",
       "                61\n",
       "            ],\n",
       "            \"showBackground\": false,\n",
       "            \"barMinHeight\": 0,\n",
       "            \"barCategoryGap\": \"20%\",\n",
       "            \"barGap\": \"30%\",\n",
       "            \"large\": false,\n",
       "            \"largeThreshold\": 400,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"clip\": true,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"label\": {\n",
       "                \"show\": true,\n",
       "                \"position\": \"right\",\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"rippleEffect\": {\n",
       "                \"show\": true,\n",
       "                \"brushType\": \"stroke\",\n",
       "                \"scale\": 2.5,\n",
       "                \"period\": 4\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u5bf9\\u8c61\\u7537\\u6027\\u8eab\\u9ad8\\u5747\\u503cTop10\\uff08\\u6837\\u672c\\u6574\\u4f53\\u5747\\u503c\\uff1a178cm\\uff09\"\n",
       "            ],\n",
       "            \"selected\": {\n",
       "                \"\\u5bf9\\u8c61\\u7537\\u6027\\u8eab\\u9ad8\\u5747\\u503cTop10\\uff08\\u6837\\u672c\\u6574\\u4f53\\u5747\\u503c\\uff1a178cm\\uff09\": true\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"scale\": false,\n",
       "            \"nameLocation\": \"end\",\n",
       "            \"nameGap\": 15,\n",
       "            \"gridIndex\": 0,\n",
       "            \"inverse\": false,\n",
       "            \"offset\": 0,\n",
       "            \"splitNumber\": 5,\n",
       "            \"minInterval\": 0,\n",
       "            \"splitLine\": {\n",
       "                \"show\": false,\n",
       "                \"lineStyle\": {\n",
       "                    \"show\": true,\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                185.5,\n",
       "                180.0,\n",
       "                172.5,\n",
       "                177.5,\n",
       "                170.0,\n",
       "                175.0,\n",
       "                175.5,\n",
       "                171.5,\n",
       "                178.5,\n",
       "                176.5\n",
       "            ]\n",
       "        }\n",
       "    ]\n",
       "};\n",
       "                chart_b5b91ab39d4c44f1aac17d830ac32805.setOption(option_b5b91ab39d4c44f1aac17d830ac32805);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x28f75378cd0>"
      ]
     },
     "execution_count": 21,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pyecharts.options as opts\n",
    "from pyecharts import options\n",
    "from pyecharts.charts import Line\n",
    "\n",
    "\n",
    "\n",
    "line_man1 = (\n",
    "    Bar(init_opts=opts.InitOpts(width='750px', height='350px'))\n",
    "    .add_xaxis(xaxis_data=name)\n",
    "    .add_yaxis(series_name='对象男性身高均值Top10（样本整体均值：178cm）', y_axis=value)\n",
    "    # 下面两行代码，用于旋转坐标轴\n",
    "    .reversal_axis()\n",
    "    .set_series_opts(label_opts=opts.LabelOpts(position=\"right\"))\n",
    "\n",
    "    )\n",
    "\n",
    "# line_man1.set_global_opts(toolbox_opts=opts.ToolboxOpts(is_show=True))\n",
    "line_man1.render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 女生对另一半薪水的平均要求"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {},
   "outputs": [],
   "source": [
    "# 因为有的是不限， 所以排除在外了\n",
    "indexs = df.loc[df['对象平均薪水'] > 1].index\n",
    "avg_salary = df.loc[indexs, '对象平均薪水'].value_counts()[:5]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\yujiaqi\\anaconda3\\envs\\tensorflow\\lib\\site-packages\\pyecharts\\charts\\chart.py:14: PendingDeprecationWarning: pyecharts 所有图表类型将在 v1.9.0 版本开始强制使用 ChartItem 进行数据项配置 :)\n",
      "  super().__init__(init_opts=init_opts)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"a09d3cfc24be4b81a4cc2135383688d2\" style=\"width:750px; height:350px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts'], function(echarts) {\n",
       "                var chart_a09d3cfc24be4b81a4cc2135383688d2 = echarts.init(\n",
       "                    document.getElementById('a09d3cfc24be4b81a4cc2135383688d2'), 'white', {renderer: 'canvas'});\n",
       "                var option_a09d3cfc24be4b81a4cc2135383688d2 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"pie\",\n",
       "            \"name\": \"\\u76ee\\u6807\\u5bf9\\u8c61\\u7537\\u6027\\u5e73\\u5747\\u5de5\\u8d44\\u7c97\\u7565\\u5206\\u5e03\\uff08\\u6837\\u672c\\u5747\\u503c\\uff1a12437\\uff09\",\n",
       "            \"clockwise\": true,\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": 10000,\n",
       "                    \"value\": 158\n",
       "                },\n",
       "                {\n",
       "                    \"name\": 7500,\n",
       "                    \"value\": 107\n",
       "                },\n",
       "                {\n",
       "                    \"name\": 20000,\n",
       "                    \"value\": 74\n",
       "                },\n",
       "                {\n",
       "                    \"name\": 5000,\n",
       "                    \"value\": 73\n",
       "                },\n",
       "                {\n",
       "                    \"name\": 3500,\n",
       "                    \"value\": 66\n",
       "                }\n",
       "            ],\n",
       "            \"radius\": [\n",
       "                \"40%\",\n",
       "                \"75%\"\n",
       "            ],\n",
       "            \"center\": [\n",
       "                \"50%\",\n",
       "                \"50%\"\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"show\": true,\n",
       "                \"position\": \"top\",\n",
       "                \"margin\": 8\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                10000,\n",
       "                7500,\n",
       "                20000,\n",
       "                5000,\n",
       "                3500\n",
       "            ],\n",
       "            \"selected\": {},\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u5168\\u6837\\u672c\\u5747\\u503c\\uff1a12437\\u5143\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ]\n",
       "};\n",
       "                chart_a09d3cfc24be4b81a4cc2135383688d2.setOption(option_a09d3cfc24be4b81a4cc2135383688d2);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x28f74b00c70>"
      ]
     },
     "execution_count": 23,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "\n",
    "\n",
    "from pyecharts.charts import Pie\n",
    "import pyecharts.options as opts\n",
    "\n",
    "num = avg_salary.values.tolist()\n",
    "lab = avg_salary.index.tolist()\n",
    "\n",
    "x = [(i, j)for i, j in zip(lab, num)]\n",
    "\n",
    "pie = (Pie(init_opts=opts.InitOpts(width='750px', height='350px'))\n",
    "    .add(series_name='目标对象男性平均工资粗略分布（样本均值：12437）',data_pair=[(i, j)for i, j in zip(lab, num)],radius = ['40%','75%'])\n",
    "    .set_global_opts(title_opts=opts.TitleOpts(title=\"全样本均值：12437元\"),\n",
    "                    legend_opts=opts.LegendOpts(is_show=True))\n",
    ")\n",
    "pie.render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Int64Index([  88,  159,  165,  207,  208,  209,  211,  212,  213,  259,\n",
       "            ...\n",
       "            2754, 2757, 2768, 2773, 2786, 2787, 2794, 2795, 2805, 2817],\n",
       "           dtype='int64', length=213)"
      ]
     },
     "execution_count": 24,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "indexs = df.loc[df[\"自我介绍\"].isnull()].index\n",
    "indexs"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {},
   "outputs": [],
   "source": [
    "df.drop(indexs, axis = 0, inplace=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>年龄</th>\n",
       "      <th>身高</th>\n",
       "      <th>学历</th>\n",
       "      <th>工资</th>\n",
       "      <th>家乡</th>\n",
       "      <th>婚姻</th>\n",
       "      <th>住房</th>\n",
       "      <th>自我介绍</th>\n",
       "      <th>对象年龄</th>\n",
       "      <th>对象身高</th>\n",
       "      <th>...</th>\n",
       "      <th>平均工资</th>\n",
       "      <th>对象最低年龄</th>\n",
       "      <th>对象最高年龄</th>\n",
       "      <th>对象平均年龄</th>\n",
       "      <th>对象最低身高</th>\n",
       "      <th>对象最高身高</th>\n",
       "      <th>对象平均身高</th>\n",
       "      <th>对象最低薪水</th>\n",
       "      <th>对象最高薪水</th>\n",
       "      <th>对象平均薪水</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>22</td>\n",
       "      <td>162</td>\n",
       "      <td>高中</td>\n",
       "      <td>10000-20000</td>\n",
       "      <td>台湾</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['来到', '希望', '朋友', '期待', '快快', '发信']</td>\n",
       "      <td>21 - 29</td>\n",
       "      <td>162 - 187</td>\n",
       "      <td>...</td>\n",
       "      <td>15000</td>\n",
       "      <td>21</td>\n",
       "      <td>29</td>\n",
       "      <td>25.0</td>\n",
       "      <td>162</td>\n",
       "      <td>187</td>\n",
       "      <td>174.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>31</td>\n",
       "      <td>161</td>\n",
       "      <td>大专</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>澳门</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']</td>\n",
       "      <td>30 - 38</td>\n",
       "      <td>161 - 186</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>30</td>\n",
       "      <td>38</td>\n",
       "      <td>34.0</td>\n",
       "      <td>161</td>\n",
       "      <td>186</td>\n",
       "      <td>173.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>23</td>\n",
       "      <td>158</td>\n",
       "      <td>大专</td>\n",
       "      <td>10000-20000</td>\n",
       "      <td>台湾</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['来到', '希望', '朋友', '期待', '快快', '发信']</td>\n",
       "      <td>21 - 29</td>\n",
       "      <td>158 - 183</td>\n",
       "      <td>...</td>\n",
       "      <td>15000</td>\n",
       "      <td>21</td>\n",
       "      <td>29</td>\n",
       "      <td>25.0</td>\n",
       "      <td>158</td>\n",
       "      <td>183</td>\n",
       "      <td>170.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>24</td>\n",
       "      <td>160</td>\n",
       "      <td>大专</td>\n",
       "      <td>10000-20000</td>\n",
       "      <td>台湾</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['来到', '希望', '朋友', '期待', '快快', '发信']</td>\n",
       "      <td>23 - 31</td>\n",
       "      <td>160 - 185</td>\n",
       "      <td>...</td>\n",
       "      <td>15000</td>\n",
       "      <td>23</td>\n",
       "      <td>31</td>\n",
       "      <td>27.0</td>\n",
       "      <td>160</td>\n",
       "      <td>185</td>\n",
       "      <td>172.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>22</td>\n",
       "      <td>168</td>\n",
       "      <td>高中</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>香港</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['希望', '过客', '盼望', '找到', '爱', '我会', '努力', '寻找'...</td>\n",
       "      <td>21 - 29</td>\n",
       "      <td>168 - 193</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>21</td>\n",
       "      <td>29</td>\n",
       "      <td>25.0</td>\n",
       "      <td>168</td>\n",
       "      <td>193</td>\n",
       "      <td>180.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2822</th>\n",
       "      <td>25</td>\n",
       "      <td>161</td>\n",
       "      <td>高中</td>\n",
       "      <td>5000-10000</td>\n",
       "      <td>北京</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后再告诉你</td>\n",
       "      <td>['来到', '希望', '朋友', '期待', '快快', '发信']</td>\n",
       "      <td>24 - 32</td>\n",
       "      <td>161 - 186</td>\n",
       "      <td>...</td>\n",
       "      <td>7500</td>\n",
       "      <td>24</td>\n",
       "      <td>32</td>\n",
       "      <td>28.0</td>\n",
       "      <td>161</td>\n",
       "      <td>186</td>\n",
       "      <td>173.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2823</th>\n",
       "      <td>29</td>\n",
       "      <td>163</td>\n",
       "      <td>初中</td>\n",
       "      <td>2000以下</td>\n",
       "      <td>内蒙古</td>\n",
       "      <td>离异</td>\n",
       "      <td>与父母同住</td>\n",
       "      <td>['离婚', '小孩', '希望', '遇见', '建议', '小孩', '绕行']</td>\n",
       "      <td>30 - 36</td>\n",
       "      <td>175 - 179</td>\n",
       "      <td>...</td>\n",
       "      <td>2000</td>\n",
       "      <td>30</td>\n",
       "      <td>36</td>\n",
       "      <td>33.0</td>\n",
       "      <td>175</td>\n",
       "      <td>179</td>\n",
       "      <td>177.0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2824</th>\n",
       "      <td>28</td>\n",
       "      <td>162</td>\n",
       "      <td>大专</td>\n",
       "      <td>2000-5000</td>\n",
       "      <td>江苏</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后告诉你</td>\n",
       "      <td>['幸福', '两人', '牵手', '偕老', '一辈子', '迎接', '心爱', '希望']</td>\n",
       "      <td>26 - 34</td>\n",
       "      <td>162 - 187</td>\n",
       "      <td>...</td>\n",
       "      <td>3500</td>\n",
       "      <td>26</td>\n",
       "      <td>34</td>\n",
       "      <td>30.0</td>\n",
       "      <td>162</td>\n",
       "      <td>187</td>\n",
       "      <td>174.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2825</th>\n",
       "      <td>41</td>\n",
       "      <td>153</td>\n",
       "      <td>中专/职高/技校</td>\n",
       "      <td>2000-5000</td>\n",
       "      <td>湖北</td>\n",
       "      <td>离异</td>\n",
       "      <td>以后告诉你</td>\n",
       "      <td>['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']</td>\n",
       "      <td>40 - 48</td>\n",
       "      <td>153 - 178</td>\n",
       "      <td>...</td>\n",
       "      <td>3500</td>\n",
       "      <td>40</td>\n",
       "      <td>48</td>\n",
       "      <td>44.0</td>\n",
       "      <td>153</td>\n",
       "      <td>178</td>\n",
       "      <td>165.5</td>\n",
       "      <td>5000</td>\n",
       "      <td>10000</td>\n",
       "      <td>7500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2826</th>\n",
       "      <td>28</td>\n",
       "      <td>164</td>\n",
       "      <td>初中</td>\n",
       "      <td>2000-5000</td>\n",
       "      <td>云南</td>\n",
       "      <td>未婚</td>\n",
       "      <td>以后告诉你</td>\n",
       "      <td>['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']</td>\n",
       "      <td>27 - 35</td>\n",
       "      <td>164 - 189</td>\n",
       "      <td>...</td>\n",
       "      <td>3500</td>\n",
       "      <td>27</td>\n",
       "      <td>35</td>\n",
       "      <td>31.0</td>\n",
       "      <td>164</td>\n",
       "      <td>189</td>\n",
       "      <td>176.5</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>2614 rows × 27 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      年龄   身高        学历           工资   家乡  婚姻      住房  \\\n",
       "0     22  162        高中  10000-20000   台湾  未婚  以后再告诉你   \n",
       "1     31  161        大专   5000-10000   澳门  未婚  以后再告诉你   \n",
       "2     23  158        大专  10000-20000   台湾  未婚  以后再告诉你   \n",
       "3     24  160        大专  10000-20000   台湾  未婚  以后再告诉你   \n",
       "4     22  168        高中   5000-10000   香港  未婚  以后再告诉你   \n",
       "...   ..  ...       ...          ...  ...  ..     ...   \n",
       "2822  25  161        高中   5000-10000   北京  未婚  以后再告诉你   \n",
       "2823  29  163        初中       2000以下  内蒙古  离异   与父母同住   \n",
       "2824  28  162        大专    2000-5000   江苏  未婚   以后告诉你   \n",
       "2825  41  153  中专/职高/技校    2000-5000   湖北  离异   以后告诉你   \n",
       "2826  28  164        初中    2000-5000   云南  未婚   以后告诉你   \n",
       "\n",
       "                                                   自我介绍     对象年龄       对象身高  \\\n",
       "0                  ['来到', '希望', '朋友', '期待', '快快', '发信']  21 - 29  162 - 187   \n",
       "1      ['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']  30 - 38  161 - 186   \n",
       "2                  ['来到', '希望', '朋友', '期待', '快快', '发信']  21 - 29  158 - 183   \n",
       "3                  ['来到', '希望', '朋友', '期待', '快快', '发信']  23 - 31  160 - 185   \n",
       "4     ['希望', '过客', '盼望', '找到', '爱', '我会', '努力', '寻找'...  21 - 29  168 - 193   \n",
       "...                                                 ...      ...        ...   \n",
       "2822               ['来到', '希望', '朋友', '期待', '快快', '发信']  24 - 32  161 - 186   \n",
       "2823         ['离婚', '小孩', '希望', '遇见', '建议', '小孩', '绕行']  30 - 36  175 - 179   \n",
       "2824  ['幸福', '两人', '牵手', '偕老', '一辈子', '迎接', '心爱', '希望']  26 - 34  162 - 187   \n",
       "2825   ['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']  40 - 48  153 - 178   \n",
       "2826   ['希望', '找到', '真诚', '自信', '阳光', '相扶', '相持', '生活']  27 - 35  164 - 189   \n",
       "\n",
       "      ...   平均工资 对象最低年龄 对象最高年龄 对象平均年龄 对象最低身高  对象最高身高  对象平均身高  对象最低薪水  对象最高薪水  \\\n",
       "0     ...  15000     21     29   25.0    162     187   174.5       0       0   \n",
       "1     ...   7500     30     38   34.0    161     186   173.5       0       0   \n",
       "2     ...  15000     21     29   25.0    158     183   170.5       0       0   \n",
       "3     ...  15000     23     31   27.0    160     185   172.5       0       0   \n",
       "4     ...   7500     21     29   25.0    168     193   180.5       0       0   \n",
       "...   ...    ...    ...    ...    ...    ...     ...     ...     ...     ...   \n",
       "2822  ...   7500     24     32   28.0    161     186   173.5       0       0   \n",
       "2823  ...   2000     30     36   33.0    175     179   177.0       0       0   \n",
       "2824  ...   3500     26     34   30.0    162     187   174.5       0       0   \n",
       "2825  ...   3500     40     48   44.0    153     178   165.5    5000   10000   \n",
       "2826  ...   3500     27     35   31.0    164     189   176.5       0       0   \n",
       "\n",
       "      对象平均薪水  \n",
       "0          0  \n",
       "1          0  \n",
       "2          0  \n",
       "3          0  \n",
       "4          0  \n",
       "...      ...  \n",
       "2822       0  \n",
       "2823       0  \n",
       "2824       0  \n",
       "2825    7500  \n",
       "2826       0  \n",
       "\n",
       "[2614 rows x 27 columns]"
      ]
     },
     "execution_count": 26,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "df"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 自我介绍的词云"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "error\n",
      "希望    24021\n",
      "找到    11607\n",
      "过客     9220\n",
      "盼望     9039\n",
      "生活     8837\n",
      "期待     7876\n",
      "爱      7315\n",
      "喜欢     6398\n",
      "寻找     6192\n",
      "珍惜     5762\n",
      "我会     5676\n",
      "真诚     5633\n",
      "努力     5460\n",
      "放手     5154\n",
      "阳光     4873\n",
      "朋友     4685\n",
      "自信     4598\n",
      "相扶     4311\n",
      "相持     4292\n",
      "到来     4036\n",
      "dtype: int64\n"
     ]
    }
   ],
   "source": [
    "import re\n",
    "\n",
    "all_words = []\n",
    "for i, v in enumerate(df[\"自我介绍\"]):\n",
    "    try:\n",
    "        result = re.findall(\"'(.*?)'\", df[\"自我介绍\"][i])\n",
    "    except:\n",
    "        print('error')\n",
    "    for k in result:\n",
    "        all_words.extend(result)\n",
    "word_count = pd.Series(all_words).value_counts()\n",
    "print(word_count[:20])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "希望    24021\n",
      "找到    11607\n",
      "过客     9220\n",
      "盼望     9039\n",
      "生活     8837\n",
      "期待     7876\n",
      "爱      7315\n",
      "喜欢     6398\n",
      "寻找     6192\n",
      "珍惜     5762\n",
      "我会     5676\n",
      "真诚     5633\n",
      "努力     5460\n",
      "放手     5154\n",
      "阳光     4873\n",
      "朋友     4685\n",
      "自信     4598\n",
      "相扶     4311\n",
      "相持     4292\n",
      "到来     4036\n",
      "dtype: int64\n"
     ]
    }
   ],
   "source": [
    "print(word_count[:20])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>关键词</th>\n",
       "      <th>数量</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>希望</td>\n",
       "      <td>24021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>找到</td>\n",
       "      <td>11607</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>过客</td>\n",
       "      <td>9220</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>盼望</td>\n",
       "      <td>9039</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>生活</td>\n",
       "      <td>8837</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>期待</td>\n",
       "      <td>7876</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>爱</td>\n",
       "      <td>7315</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>喜欢</td>\n",
       "      <td>6398</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>寻找</td>\n",
       "      <td>6192</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>珍惜</td>\n",
       "      <td>5762</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>我会</td>\n",
       "      <td>5676</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>真诚</td>\n",
       "      <td>5633</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>努力</td>\n",
       "      <td>5460</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>放手</td>\n",
       "      <td>5154</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>阳光</td>\n",
       "      <td>4873</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>朋友</td>\n",
       "      <td>4685</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>自信</td>\n",
       "      <td>4598</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>相扶</td>\n",
       "      <td>4311</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>相持</td>\n",
       "      <td>4292</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>到来</td>\n",
       "      <td>4036</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   关键词     数量\n",
       "0   希望  24021\n",
       "1   找到  11607\n",
       "2   过客   9220\n",
       "3   盼望   9039\n",
       "4   生活   8837\n",
       "5   期待   7876\n",
       "6    爱   7315\n",
       "7   喜欢   6398\n",
       "8   寻找   6192\n",
       "9   珍惜   5762\n",
       "10  我会   5676\n",
       "11  真诚   5633\n",
       "12  努力   5460\n",
       "13  放手   5154\n",
       "14  阳光   4873\n",
       "15  朋友   4685\n",
       "16  自信   4598\n",
       "17  相扶   4311\n",
       "18  相持   4292\n",
       "19  到来   4036"
      ]
     },
     "execution_count": 29,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "word_count = word_count.to_frame().reset_index()\n",
    "word_count.columns = [\"关键词\",\"数量\"]\n",
    "word_count[:20]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[('希望', 24021), ('找到', 11607), ('过客', 9220), ('盼望', 9039), ('生活', 8837)]"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x = []\n",
    "for i in zip(word_count[\"关键词\"],word_count[\"数量\"]):\n",
    "    x.append(i)\n",
    "x[:5]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "C:\\Users\\yujiaqi\\anaconda3\\envs\\tensorflow\\lib\\site-packages\\pyecharts\\charts\\chart.py:14: PendingDeprecationWarning: pyecharts 所有图表类型将在 v1.9.0 版本开始强制使用 ChartItem 进行数据项配置 :)\n",
      "  super().__init__(init_opts=init_opts)\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/echarts.min', 'echarts-wordcloud':'https://assets.pyecharts.org/assets/echarts-wordcloud.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"393894fa95e14bff88656f5fe3bbe768\" style=\"width:750px; height:350px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', 'echarts-wordcloud'], function(echarts) {\n",
       "                var chart_393894fa95e14bff88656f5fe3bbe768 = echarts.init(\n",
       "                    document.getElementById('393894fa95e14bff88656f5fe3bbe768'), 'white', {renderer: 'canvas'});\n",
       "                var option_393894fa95e14bff88656f5fe3bbe768 = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"wordCloud\",\n",
       "            \"shape\": \"circle\",\n",
       "            \"rotationRange\": [\n",
       "                -90,\n",
       "                90\n",
       "            ],\n",
       "            \"rotationStep\": 45,\n",
       "            \"girdSize\": 20,\n",
       "            \"sizeRange\": [\n",
       "                20,\n",
       "                40\n",
       "            ],\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"\\u5e0c\\u671b\",\n",
       "                    \"value\": 24021,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(42,148,63)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u627e\\u5230\",\n",
       "                    \"value\": 11607,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(44,43,121)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8fc7\\u5ba2\",\n",
       "                    \"value\": 9220,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(67,119,62)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u76fc\\u671b\",\n",
       "                    \"value\": 9039,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(91,70,127)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u751f\\u6d3b\",\n",
       "                    \"value\": 8837,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(154,123,127)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u671f\\u5f85\",\n",
       "                    \"value\": 7876,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(67,94,72)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7231\",\n",
       "                    \"value\": 7315,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(153,7,154)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u559c\\u6b22\",\n",
       "                    \"value\": 6398,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(38,34,90)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5bfb\\u627e\",\n",
       "                    \"value\": 6192,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(47,152,119)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u73cd\\u60dc\",\n",
       "                    \"value\": 5762,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(40,159,104)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6211\\u4f1a\",\n",
       "                    \"value\": 5676,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(150,49,155)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u771f\\u8bda\",\n",
       "                    \"value\": 5633,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(72,58,44)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u52aa\\u529b\",\n",
       "                    \"value\": 5460,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(34,45,73)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u653e\\u624b\",\n",
       "                    \"value\": 5154,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(145,43,119)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9633\\u5149\",\n",
       "                    \"value\": 4873,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(123,106,127)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u670b\\u53cb\",\n",
       "                    \"value\": 4685,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(32,122,93)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u81ea\\u4fe1\",\n",
       "                    \"value\": 4598,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(82,141,6)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u76f8\\u6276\",\n",
       "                    \"value\": 4311,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(77,109,124)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u76f8\\u6301\",\n",
       "                    \"value\": 4292,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(102,51,36)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5230\\u6765\",\n",
       "                    \"value\": 4036,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(72,61,126)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5efa\\u6210\",\n",
       "                    \"value\": 3786,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(11,44,69)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5bb6\\u56ed\",\n",
       "                    \"value\": 3786,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(80,92,90)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6765\\u5230\",\n",
       "                    \"value\": 3711,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(83,76,14)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u53d1\\u4fe1\",\n",
       "                    \"value\": 3456,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(100,116,13)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5feb\\u5feb\",\n",
       "                    \"value\": 3195,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(125,81,45)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"8226\",\n",
       "                    \"value\": 2568,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(48,132,150)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e74\",\n",
       "                    \"value\": 2553,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(52,6,54)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e2d\",\n",
       "                    \"value\": 2432,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(159,38,28)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5584\\u826f\",\n",
       "                    \"value\": 2281,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(19,130,66)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5de5\\u4f5c\",\n",
       "                    \"value\": 2221,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(91,94,77)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u60f3\",\n",
       "                    \"value\": 2162,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(53,139,108)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8bf7\",\n",
       "                    \"value\": 2156,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(160,103,127)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e78\\u798f\",\n",
       "                    \"value\": 2023,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(67,113,102)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7537\\u58eb\",\n",
       "                    \"value\": 2018,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(71,77,27)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5973\\u4eba\",\n",
       "                    \"value\": 1939,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(76,141,109)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7275\\u624b\",\n",
       "                    \"value\": 1803,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(146,133,94)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u627e\",\n",
       "                    \"value\": 1752,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(87,100,132)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e00\\u4f4d\",\n",
       "                    \"value\": 1447,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(98,89,106)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5bb6\\u5ead\",\n",
       "                    \"value\": 1419,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(125,84,53)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9000\\u4f11\",\n",
       "                    \"value\": 1318,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(1,28,67)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u97f3\\u4e50\",\n",
       "                    \"value\": 1271,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(38,2,28)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e00\\u8f88\\u5b50\",\n",
       "                    \"value\": 1209,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(134,146,135)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6027\\u683c\",\n",
       "                    \"value\": 1118,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(35,101,146)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8eab\\u4f53\\u5065\\u5eb7\",\n",
       "                    \"value\": 1117,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(127,10,44)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e1a\\u4f59\\u65f6\\u95f4\",\n",
       "                    \"value\": 1115,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(33,92,152)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4eba\\u751f\",\n",
       "                    \"value\": 1098,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(149,118,130)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8d23\\u4efb\\u5fc3\",\n",
       "                    \"value\": 1082,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(27,51,137)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u91cc\",\n",
       "                    \"value\": 1079,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(87,25,137)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u771f\\u5fc3\",\n",
       "                    \"value\": 1053,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(2,33,89)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u505a\",\n",
       "                    \"value\": 1050,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(69,149,3)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u52ff\\u6270\",\n",
       "                    \"value\": 1046,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(69,137,84)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7537\\u4eba\",\n",
       "                    \"value\": 1031,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(125,134,37)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u76f8\\u4e92\",\n",
       "                    \"value\": 1024,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(26,109,116)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e74\\u9f84\",\n",
       "                    \"value\": 1010,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(18,44,38)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e73\\u65f6\",\n",
       "                    \"value\": 995,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(152,115,121)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5973\\u5b69\",\n",
       "                    \"value\": 982,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(114,57,27)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8bf4\",\n",
       "                    \"value\": 969,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(31,80,52)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7406\\u60f3\",\n",
       "                    \"value\": 924,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(7,64,106)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u76f8\\u4f34\",\n",
       "                    \"value\": 908,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(62,149,21)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5730\\u70b9\",\n",
       "                    \"value\": 899,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(152,93,141)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4fe1\\u606f\",\n",
       "                    \"value\": 895,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(124,32,53)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5177\\u5907\",\n",
       "                    \"value\": 876,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(117,52,136)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65f6\\u95f4\",\n",
       "                    \"value\": 850,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(68,25,148)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8c22\\u8c22\",\n",
       "                    \"value\": 840,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(114,78,102)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u672a\\u6765\",\n",
       "                    \"value\": 830,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(143,49,134)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5f00\\u6717\",\n",
       "                    \"value\": 819,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(26,158,17)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6276\\u6301\",\n",
       "                    \"value\": 802,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(152,31,66)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7f51\\u80fd\",\n",
       "                    \"value\": 786,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(64,49,49)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5171\\u5ea6\",\n",
       "                    \"value\": 784,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(22,143,155)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8d70\",\n",
       "                    \"value\": 771,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(57,55,127)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e38\\u4f4f\",\n",
       "                    \"value\": 762,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(71,128,134)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5feb\\u4e50\",\n",
       "                    \"value\": 760,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(8,41,126)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5c81\",\n",
       "                    \"value\": 758,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(147,22,55)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7231\\u60c5\",\n",
       "                    \"value\": 744,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(49,6,15)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ed3\\u5a5a\",\n",
       "                    \"value\": 743,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(146,146,37)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65c5\\u6e38\",\n",
       "                    \"value\": 729,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(93,27,69)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u8d44\\u6599\",\n",
       "                    \"value\": 727,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(158,103,64)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e08\\u592b\",\n",
       "                    \"value\": 727,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(106,98,34)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4f53\\u8d34\",\n",
       "                    \"value\": 720,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(89,33,3)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u975e\\u8bda\",\n",
       "                    \"value\": 691,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(110,63,23)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7f51\",\n",
       "                    \"value\": 686,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(76,88,40)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65e5\\u5b50\",\n",
       "                    \"value\": 685,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(19,109,28)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6e29\\u67d4\",\n",
       "                    \"value\": 681,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(126,21,133)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u6709\\u9650\\u516c\\u53f8\",\n",
       "                    \"value\": 673,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(8,124,74)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65b9\\u5f0f\",\n",
       "                    \"value\": 669,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(131,115,56)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u770b\\u4e66\",\n",
       "                    \"value\": 664,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(75,94,137)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5e73\\u53f0\",\n",
       "                    \"value\": 659,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(52,135,122)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u72ec\\u7acb\",\n",
       "                    \"value\": 649,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(75,102,122)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u65c5\\u884c\",\n",
       "                    \"value\": 648,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(24,121,85)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4f34\\u4fa3\",\n",
       "                    \"value\": 636,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(28,135,150)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5531\\u6b4c\",\n",
       "                    \"value\": 636,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(143,119,120)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7b80\\u5355\",\n",
       "                    \"value\": 632,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(33,98,141)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7ea6\\u4f1a\",\n",
       "                    \"value\": 631,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(52,105,114)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5305\\u5bb9\",\n",
       "                    \"value\": 627,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(145,116,10)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"20\",\n",
       "                    \"value\": 626,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(8,48,107)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u4e00\\u751f\",\n",
       "                    \"value\": 626,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(22,132,158)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7b49\\u5f85\",\n",
       "                    \"value\": 621,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(132,64,15)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u627e\\u4e2a\",\n",
       "                    \"value\": 604,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(100,5,137)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u611f\\u60c5\",\n",
       "                    \"value\": 596,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(25,23,44)\"\n",
       "                        }\n",
       "                    }\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7cbe\\u795e\",\n",
       "                    \"value\": 594,\n",
       "                    \"textStyle\": {\n",
       "                        \"normal\": {\n",
       "                            \"color\": \"rgb(0,38,54)\"\n",
       "                        }\n",
       "                    }\n",
       "                }\n",
       "            ],\n",
       "            \"drawOutOfBound\": false,\n",
       "            \"textStyle\": {\n",
       "                \"emphasis\": {}\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [],\n",
       "            \"selected\": {},\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u81ea\\u6211\\u4ecb\\u7ecd\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10\n",
       "        }\n",
       "    ]\n",
       "};\n",
       "                chart_393894fa95e14bff88656f5fe3bbe768.setOption(option_393894fa95e14bff88656f5fe3bbe768);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x28f71510550>"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import WordCloud\n",
    "\n",
    "wordcloud = (\n",
    "    WordCloud(init_opts=opts.InitOpts(width='750px', height='350px'))\n",
    "    .add(\"\", x[:100], word_size_range=[20, 40])\n",
    "    .set_global_opts(title_opts=opts.TitleOpts(title=\"自我介绍\"))\n",
    ")\n",
    "wordcloud.render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "ename": "NameError",
     "evalue": "name 'bar1' is not defined",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mNameError\u001b[0m                                 Traceback (most recent call last)",
      "\u001b[1;32m<ipython-input-1-d1e72be34cd4>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[0;32m      3\u001b[0m \u001b[0mpage\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mPage\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mlayout\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mPage\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mDraggablePageLayout\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      4\u001b[0m page.add(\n\u001b[1;32m----> 5\u001b[1;33m     \u001b[0mbar1\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m      6\u001b[0m     \u001b[0mbar3\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m      7\u001b[0m     \u001b[0mchina\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;31mNameError\u001b[0m: name 'bar1' is not defined"
     ]
    }
   ],
   "source": [
    "from pyecharts.charts import Page\n",
    "\n",
    "page = Page(layout=Page.DraggablePageLayout)\n",
    "page.add(\n",
    "    bar1,\n",
    "    bar3,\n",
    "    china,\n",
    "    bar4,\n",
    "    bar2,\n",
    "    line_man1,\n",
    "    pie,\n",
    "    wordcloud\n",
    ")\n",
    "page.render_notebook()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 生成网页"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'<!DOCTYPE html>\\n<html>\\n<head>\\n    <meta charset=\"UTF-8\">\\n    <title>Awesome-pyecharts</title>\\n            <script type=\"text/javascript\" src=\"https://assets.pyecharts.org/assets/echarts.min.js\"></script>\\n        <script type=\"text/javascript\" src=\"https://assets.pyecharts.org/assets/maps/china.js\"></script>\\n        <script type=\"text/javascript\" src=\"https://assets.pyecharts.org/assets/echarts-wordcloud.min.js\"></script>\\n        <script type=\"text/javascript\" src=\"https://assets.pyecharts.org/assets/jquery.min.js\"></script>\\n        <script type=\"text/javascript\" src=\"https://assets.pyecharts.org/assets/jquery-ui.min.js\"></script>\\n        <script type=\"text/javascript\" src=\"https://assets.pyecharts.org/assets/ResizeSensor.js\"></script>\\n\\n            <link rel=\"stylesheet\"  href=\"https://assets.pyecharts.org/assets/jquery-ui.css\">\\n\\n</head>\\n<body>\\n    <style>.box {  }; </style>\\n        \\n    <div class=\"box\">\\n                <div id=\"c613177e957e4a58a54c9284b7106519\" class=\"chart-container\" style=\"position: absolute; width: 748px; height: 346px; top: 31.80000114440918px; left: 8px;\"></div>\\n    <script>\\n        var chart_c613177e957e4a58a54c9284b7106519 = echarts.init(\\n            document.getElementById(\\'c613177e957e4a58a54c9284b7106519\\'), \\'white\\', {renderer: \\'canvas\\'});\\n        var option_c613177e957e4a58a54c9284b7106519 = {\\n    \"animation\": true,\\n    \"animationThreshold\": 2000,\\n    \"animationDuration\": 1000,\\n    \"animationEasing\": \"cubicOut\",\\n    \"animationDelay\": 0,\\n    \"animationDurationUpdate\": 300,\\n    \"animationEasingUpdate\": \"cubicOut\",\\n    \"animationDelayUpdate\": 0,\\n    \"color\": [\\n        \"#c23531\",\\n        \"#2f4554\",\\n        \"#61a0a8\",\\n        \"#d48265\",\\n        \"#749f83\",\\n        \"#ca8622\",\\n        \"#bda29a\",\\n        \"#6e7074\",\\n        \"#546570\",\\n        \"#c4ccd3\",\\n        \"#f05b72\",\\n        \"#ef5b9c\",\\n        \"#f47920\",\\n        \"#905a3d\",\\n        \"#fab27b\",\\n        \"#2a5caa\",\\n        \"#444693\",\\n        \"#726930\",\\n        \"#b2d235\",\\n        \"#6d8346\",\\n        \"#ac6767\",\\n        \"#1d953f\",\\n        \"#6950a1\",\\n        \"#918597\"\\n    ],\\n    \"series\": [\\n        {\\n            \"type\": \"bar\",\\n            \"name\": \"\\\\u5355\\\\u8eab\\\\u5973\\\\u6027\\\\u5e74\\\\u9f84Top20\",\\n            \"legendHoverLink\": true,\\n            \"data\": [\\n                146,\\n                145,\\n                136,\\n                135,\\n                135,\\n                131,\\n                125,\\n                123,\\n                109,\\n                94,\\n                92,\\n                88,\\n                78,\\n                61,\\n                59,\\n                57,\\n                56,\\n                48,\\n                47,\\n                46\\n            ],\\n            \"showBackground\": false,\\n            \"barMinHeight\": 0,\\n            \"barCategoryGap\": \"20%\",\\n            \"barGap\": \"30%\",\\n            \"large\": false,\\n            \"largeThreshold\": 400,\\n            \"seriesLayoutBy\": \"column\",\\n            \"datasetIndex\": 0,\\n            \"clip\": true,\\n            \"zlevel\": 0,\\n            \"z\": 2,\\n            \"label\": {\\n                \"show\": true,\\n                \"position\": \"top\",\\n                \"margin\": 8\\n            }\\n        }\\n    ],\\n    \"legend\": [\\n        {\\n            \"data\": [\\n                \"\\\\u5355\\\\u8eab\\\\u5973\\\\u6027\\\\u5e74\\\\u9f84Top20\"\\n            ],\\n            \"selected\": {\\n                \"\\\\u5355\\\\u8eab\\\\u5973\\\\u6027\\\\u5e74\\\\u9f84Top20\": true\\n            },\\n            \"show\": true,\\n            \"padding\": 5,\\n            \"itemGap\": 10,\\n            \"itemWidth\": 25,\\n            \"itemHeight\": 14\\n        }\\n    ],\\n    \"tooltip\": {\\n        \"show\": true,\\n        \"trigger\": \"item\",\\n        \"triggerOn\": \"mousemove|click\",\\n        \"axisPointer\": {\\n            \"type\": \"line\"\\n        },\\n        \"showContent\": true,\\n        \"alwaysShowContent\": false,\\n        \"showDelay\": 0,\\n        \"hideDelay\": 100,\\n        \"textStyle\": {\\n            \"fontSize\": 14\\n        },\\n        \"borderWidth\": 0,\\n        \"padding\": 5\\n    },\\n    \"xAxis\": [\\n        {\\n            \"show\": true,\\n            \"scale\": false,\\n            \"nameLocation\": \"end\",\\n            \"nameGap\": 15,\\n            \"gridIndex\": 0,\\n            \"inverse\": false,\\n            \"offset\": 0,\\n            \"splitNumber\": 5,\\n            \"minInterval\": 0,\\n            \"splitLine\": {\\n                \"show\": false,\\n                \"lineStyle\": {\\n                    \"show\": true,\\n                    \"width\": 1,\\n                    \"opacity\": 1,\\n                    \"curveness\": 0,\\n                    \"type\": \"solid\"\\n                }\\n            },\\n            \"data\": [\\n                24,\\n                30,\\n                27,\\n                29,\\n                31,\\n                26,\\n                32,\\n                28,\\n                25,\\n                33,\\n                23,\\n                22,\\n                34,\\n                36,\\n                35,\\n                50,\\n                37,\\n                38,\\n                57,\\n                55\\n            ]\\n        }\\n    ],\\n    \"yAxis\": [\\n        {\\n            \"show\": true,\\n            \"scale\": false,\\n            \"nameLocation\": \"end\",\\n            \"nameGap\": 15,\\n            \"gridIndex\": 0,\\n            \"inverse\": false,\\n            \"offset\": 0,\\n            \"splitNumber\": 5,\\n            \"minInterval\": 0,\\n            \"splitLine\": {\\n                \"show\": false,\\n                \"lineStyle\": {\\n                    \"show\": true,\\n                    \"width\": 1,\\n                    \"opacity\": 1,\\n                    \"curveness\": 0,\\n                    \"type\": \"solid\"\\n                }\\n            }\\n        }\\n    ],\\n    \"title\": [\\n        {\\n            \"padding\": 5,\\n            \"itemGap\": 10\\n        }\\n    ],\\n    \"toolbox\": {\\n        \"show\": true,\\n        \"orient\": \"horizontal\",\\n        \"itemSize\": 15,\\n        \"itemGap\": 10,\\n        \"left\": \"80%\",\\n        \"feature\": {\\n            \"saveAsImage\": {\\n                \"type\": \"png\",\\n                \"backgroundColor\": \"auto\",\\n                \"connectedBackgroundColor\": \"#fff\",\\n                \"show\": true,\\n                \"title\": \"\\\\u4fdd\\\\u5b58\\\\u4e3a\\\\u56fe\\\\u7247\",\\n                \"pixelRatio\": 1\\n            },\\n            \"restore\": {\\n                \"show\": true,\\n                \"title\": \"\\\\u8fd8\\\\u539f\"\\n            },\\n            \"dataView\": {\\n                \"show\": true,\\n                \"title\": \"\\\\u6570\\\\u636e\\\\u89c6\\\\u56fe\",\\n                \"readOnly\": false,\\n                \"lang\": [\\n                    \"\\\\u6570\\\\u636e\\\\u89c6\\\\u56fe\",\\n                    \"\\\\u5173\\\\u95ed\",\\n                    \"\\\\u5237\\\\u65b0\"\\n                ],\\n                \"backgroundColor\": \"#fff\",\\n                \"textareaColor\": \"#fff\",\\n                \"textareaBorderColor\": \"#333\",\\n                \"textColor\": \"#000\",\\n                \"buttonColor\": \"#c23531\",\\n                \"buttonTextColor\": \"#fff\"\\n            },\\n            \"dataZoom\": {\\n                \"show\": true,\\n                \"title\": {\\n                    \"zoom\": \"\\\\u533a\\\\u57df\\\\u7f29\\\\u653e\",\\n                    \"back\": \"\\\\u533a\\\\u57df\\\\u7f29\\\\u653e\\\\u8fd8\\\\u539f\"\\n                },\\n                \"icon\": {},\\n                \"xAxisIndex\": false,\\n                \"yAxisIndex\": false,\\n                \"filterMode\": \"filter\"\\n            },\\n            \"magicType\": {\\n                \"show\": true,\\n                \"type\": [\\n                    \"line\",\\n                    \"bar\",\\n                    \"stack\",\\n                    \"tiled\"\\n                ],\\n                \"title\": {\\n                    \"line\": \"\\\\u5207\\\\u6362\\\\u4e3a\\\\u6298\\\\u7ebf\\\\u56fe\",\\n                    \"bar\": \"\\\\u5207\\\\u6362\\\\u4e3a\\\\u67f1\\\\u72b6\\\\u56fe\",\\n                    \"stack\": \"\\\\u5207\\\\u6362\\\\u4e3a\\\\u5806\\\\u53e0\",\\n                    \"tiled\": \"\\\\u5207\\\\u6362\\\\u4e3a\\\\u5e73\\\\u94fa\"\\n                },\\n                \"icon\": {}\\n            },\\n            \"brush\": {\\n                \"icon\": {},\\n                \"title\": {\\n                    \"rect\": \"\\\\u77e9\\\\u5f62\\\\u9009\\\\u62e9\",\\n                    \"polygon\": \"\\\\u5708\\\\u9009\",\\n                    \"lineX\": \"\\\\u6a2a\\\\u5411\\\\u9009\\\\u62e9\",\\n                    \"lineY\": \"\\\\u7eb5\\\\u5411\\\\u9009\\\\u62e9\",\\n                    \"keep\": \"\\\\u4fdd\\\\u6301\\\\u9009\\\\u62e9\",\\n                    \"clear\": \"\\\\u6e05\\\\u9664\\\\u9009\\\\u62e9\"\\n                }\\n            }\\n        }\\n    }\\n};\\n        chart_c613177e957e4a58a54c9284b7106519.setOption(option_c613177e957e4a58a54c9284b7106519);\\n    </script>\\n<br/>                <div id=\"6520879c00174b03adaa11a0516b04b7\" class=\"chart-container\" style=\"position: absolute; width: 749px; height: 348px; top: 32.60000228881836px; left: 765px;\"></div>\\n    <script>\\n        var chart_6520879c00174b03adaa11a0516b04b7 = echarts.init(\\n            document.getElementById(\\'6520879c00174b03adaa11a0516b04b7\\'), \\'white\\', {renderer: \\'canvas\\'});\\n        var option_6520879c00174b03adaa11a0516b04b7 = {\\n    \"animation\": true,\\n    \"animationThreshold\": 2000,\\n    \"animationDuration\": 1000,\\n    \"animationEasing\": \"cubicOut\",\\n    \"animationDelay\": 0,\\n    \"animationDurationUpdate\": 300,\\n    \"animationEasingUpdate\": \"cubicOut\",\\n    \"animationDelayUpdate\": 0,\\n    \"color\": [\\n        \"#c23531\",\\n        \"#2f4554\",\\n        \"#61a0a8\",\\n        \"#d48265\",\\n        \"#749f83\",\\n        \"#ca8622\",\\n        \"#bda29a\",\\n        \"#6e7074\",\\n        \"#546570\",\\n        \"#c4ccd3\",\\n        \"#f05b72\",\\n        \"#ef5b9c\",\\n        \"#f47920\",\\n        \"#905a3d\",\\n        \"#fab27b\",\\n        \"#2a5caa\",\\n        \"#444693\",\\n        \"#726930\",\\n        \"#b2d235\",\\n        \"#6d8346\",\\n        \"#ac6767\",\\n        \"#1d953f\",\\n        \"#6950a1\",\\n        \"#918597\"\\n    ],\\n    \"series\": [\\n        {\\n            \"type\": \"bar\",\\n            \"name\": \"18-37\\\\u5c81\\\\u5355\\\\u8eab\\\\u5973\\\\u6027\\\\u6570\\\\u91cf\\\\u5206\\\\u6790\",\\n            \"legendHoverLink\": true,\\n            \"data\": [\\n                27,\\n                21,\\n                17,\\n                28,\\n                88,\\n                92,\\n                146,\\n                109,\\n                131,\\n                136,\\n                123,\\n                135,\\n                145,\\n                135,\\n                125,\\n                94,\\n                78,\\n                59,\\n                61,\\n                56\\n            ],\\n            \"showBackground\": false,\\n            \"barMinHeight\": 0,\\n            \"barCategoryGap\": \"20%\",\\n            \"barGap\": \"30%\",\\n            \"large\": false,\\n            \"largeThreshold\": 400,\\n            \"seriesLayoutBy\": \"column\",\\n            \"datasetIndex\": 0,\\n            \"clip\": true,\\n            \"zlevel\": 0,\\n            \"z\": 2,\\n            \"label\": {\\n                \"show\": true,\\n                \"position\": \"top\",\\n                \"margin\": 8\\n            }\\n        }\\n    ],\\n    \"legend\": [\\n        {\\n            \"data\": [\\n                \"18-37\\\\u5c81\\\\u5355\\\\u8eab\\\\u5973\\\\u6027\\\\u6570\\\\u91cf\\\\u5206\\\\u6790\"\\n            ],\\n            \"selected\": {\\n                \"18-37\\\\u5c81\\\\u5355\\\\u8eab\\\\u5973\\\\u6027\\\\u6570\\\\u91cf\\\\u5206\\\\u6790\": true\\n            },\\n            \"show\": true,\\n            \"padding\": 5,\\n            \"itemGap\": 10,\\n            \"itemWidth\": 25,\\n            \"itemHeight\": 14\\n        }\\n    ],\\n    \"tooltip\": {\\n        \"show\": true,\\n        \"trigger\": \"item\",\\n        \"triggerOn\": \"mousemove|click\",\\n        \"axisPointer\": {\\n            \"type\": \"line\"\\n        },\\n        \"showContent\": true,\\n        \"alwaysShowContent\": false,\\n        \"showDelay\": 0,\\n        \"hideDelay\": 100,\\n        \"textStyle\": {\\n            \"fontSize\": 14\\n        },\\n        \"borderWidth\": 0,\\n        \"padding\": 5\\n    },\\n    \"xAxis\": [\\n        {\\n            \"show\": true,\\n            \"scale\": false,\\n            \"nameLocation\": \"end\",\\n            \"nameGap\": 15,\\n            \"gridIndex\": 0,\\n            \"inverse\": false,\\n            \"offset\": 0,\\n            \"splitNumber\": 5,\\n            \"minInterval\": 0,\\n            \"splitLine\": {\\n                \"show\": false,\\n                \"lineStyle\": {\\n                    \"show\": true,\\n                    \"width\": 1,\\n                    \"opacity\": 1,\\n                    \"curveness\": 0,\\n                    \"type\": \"solid\"\\n                }\\n            },\\n            \"data\": [\\n                18,\\n                19,\\n                20,\\n                21,\\n                22,\\n                23,\\n                24,\\n                25,\\n                26,\\n                27,\\n                28,\\n                29,\\n                30,\\n                31,\\n                32,\\n                33,\\n                34,\\n                35,\\n                36,\\n                37\\n            ]\\n        }\\n    ],\\n    \"yAxis\": [\\n        {\\n            \"show\": true,\\n            \"scale\": false,\\n            \"nameLocation\": \"end\",\\n            \"nameGap\": 15,\\n            \"gridIndex\": 0,\\n            \"inverse\": false,\\n            \"offset\": 0,\\n            \"splitNumber\": 5,\\n            \"minInterval\": 0,\\n            \"splitLine\": {\\n                \"show\": false,\\n                \"lineStyle\": {\\n                    \"show\": true,\\n                    \"width\": 1,\\n                    \"opacity\": 1,\\n                    \"curveness\": 0,\\n                    \"type\": \"solid\"\\n                }\\n            }\\n        }\\n    ],\\n    \"title\": [\\n        {\\n            \"padding\": 5,\\n            \"itemGap\": 10\\n        }\\n    ],\\n    \"toolbox\": {\\n        \"show\": true,\\n        \"orient\": \"horizontal\",\\n        \"itemSize\": 15,\\n        \"itemGap\": 10,\\n        \"left\": \"80%\",\\n        \"feature\": {\\n            \"saveAsImage\": {\\n                \"type\": \"png\",\\n                \"backgroundColor\": \"auto\",\\n                \"connectedBackgroundColor\": \"#fff\",\\n                \"show\": true,\\n                \"title\": \"\\\\u4fdd\\\\u5b58\\\\u4e3a\\\\u56fe\\\\u7247\",\\n                \"pixelRatio\": 1\\n            },\\n            \"restore\": {\\n                \"show\": true,\\n                \"title\": \"\\\\u8fd8\\\\u539f\"\\n            },\\n            \"dataView\": {\\n                \"show\": true,\\n                \"title\": \"\\\\u6570\\\\u636e\\\\u89c6\\\\u56fe\",\\n                \"readOnly\": false,\\n                \"lang\": [\\n                    \"\\\\u6570\\\\u636e\\\\u89c6\\\\u56fe\",\\n                    \"\\\\u5173\\\\u95ed\",\\n                    \"\\\\u5237\\\\u65b0\"\\n                ],\\n                \"backgroundColor\": \"#fff\",\\n                \"textareaColor\": \"#fff\",\\n                \"textareaBorderColor\": \"#333\",\\n                \"textColor\": \"#000\",\\n                \"buttonColor\": \"#c23531\",\\n                \"buttonTextColor\": \"#fff\"\\n            },\\n            \"dataZoom\": {\\n                \"show\": true,\\n                \"title\": {\\n                    \"zoom\": \"\\\\u533a\\\\u57df\\\\u7f29\\\\u653e\",\\n                    \"back\": \"\\\\u533a\\\\u57df\\\\u7f29\\\\u653e\\\\u8fd8\\\\u539f\"\\n                },\\n                \"icon\": {},\\n                \"xAxisIndex\": false,\\n                \"yAxisIndex\": false,\\n                \"filterMode\": \"filter\"\\n            },\\n            \"magicType\": {\\n                \"show\": true,\\n                \"type\": [\\n                    \"line\",\\n                    \"bar\",\\n                    \"stack\",\\n                    \"tiled\"\\n                ],\\n                \"title\": {\\n                    \"line\": \"\\\\u5207\\\\u6362\\\\u4e3a\\\\u6298\\\\u7ebf\\\\u56fe\",\\n                    \"bar\": \"\\\\u5207\\\\u6362\\\\u4e3a\\\\u67f1\\\\u72b6\\\\u56fe\",\\n                    \"stack\": \"\\\\u5207\\\\u6362\\\\u4e3a\\\\u5806\\\\u53e0\",\\n                    \"tiled\": \"\\\\u5207\\\\u6362\\\\u4e3a\\\\u5e73\\\\u94fa\"\\n                },\\n                \"icon\": {}\\n            },\\n            \"brush\": {\\n                \"icon\": {},\\n                \"title\": {\\n                    \"rect\": \"\\\\u77e9\\\\u5f62\\\\u9009\\\\u62e9\",\\n                    \"polygon\": \"\\\\u5708\\\\u9009\",\\n                    \"lineX\": \"\\\\u6a2a\\\\u5411\\\\u9009\\\\u62e9\",\\n                    \"lineY\": \"\\\\u7eb5\\\\u5411\\\\u9009\\\\u62e9\",\\n                    \"keep\": \"\\\\u4fdd\\\\u6301\\\\u9009\\\\u62e9\",\\n                    \"clear\": \"\\\\u6e05\\\\u9664\\\\u9009\\\\u62e9\"\\n                }\\n            }\\n        }\\n    }\\n};\\n        chart_6520879c00174b03adaa11a0516b04b7.setOption(option_6520879c00174b03adaa11a0516b04b7);\\n    </script>\\n<br/>                <div id=\"f913eb2e768446f3a17ff43778e617d1\" class=\"chart-container\" style=\"position: absolute; width: 900px; height: 468px; top: 403.3999938964844px; left: 304px;\"></div>\\n    <script>\\n        var chart_f913eb2e768446f3a17ff43778e617d1 = echarts.init(\\n            document.getElementById(\\'f913eb2e768446f3a17ff43778e617d1\\'), \\'white\\', {renderer: \\'canvas\\'});\\n        var option_f913eb2e768446f3a17ff43778e617d1 = {\\n    \"animation\": true,\\n    \"animationThreshold\": 2000,\\n    \"animationDuration\": 1000,\\n    \"animationEasing\": \"cubicOut\",\\n    \"animationDelay\": 0,\\n    \"animationDurationUpdate\": 300,\\n    \"animationEasingUpdate\": \"cubicOut\",\\n    \"animationDelayUpdate\": 0,\\n    \"color\": [\\n        \"#c23531\",\\n        \"#2f4554\",\\n        \"#61a0a8\",\\n        \"#d48265\",\\n        \"#749f83\",\\n        \"#ca8622\",\\n        \"#bda29a\",\\n        \"#6e7074\",\\n        \"#546570\",\\n        \"#c4ccd3\",\\n        \"#f05b72\",\\n        \"#ef5b9c\",\\n        \"#f47920\",\\n        \"#905a3d\",\\n        \"#fab27b\",\\n        \"#2a5caa\",\\n        \"#444693\",\\n        \"#726930\",\\n        \"#b2d235\",\\n        \"#6d8346\",\\n        \"#ac6767\",\\n        \"#1d953f\",\\n        \"#6950a1\",\\n        \"#918597\"\\n    ],\\n    \"series\": [\\n        {\\n            \"type\": \"map\",\\n            \"name\": \"\\\\u5355\\\\u8eab\\\\u59b9\\\\u5b50\\\\u533a\\\\u57df\\\\u5206\\\\u5e03\",\\n            \"label\": {\\n                \"show\": true,\\n                \"position\": \"top\",\\n                \"margin\": 8\\n            },\\n            \"mapType\": \"china\",\\n            \"data\": [\\n                {\\n                    \"name\": \"\\\\u897f\\\\u85cf\",\\n                    \"value\": 246\\n                },\\n                {\\n                    \"name\": \"\\\\u4ee5\\\\u540e\\\\u544a\\\\u8bc9\",\\n                    \"value\": 206\\n                },\\n                {\\n                    \"name\": \"\\\\u8fbd\\\\u5b81\",\\n                    \"value\": 151\\n                },\\n                {\\n                    \"name\": \"\\\\u53f0\\\\u6e7e\",\\n                    \"value\": 149\\n                },\\n                {\\n                    \"name\": \"\\\\u5185\\\\u8499\\\\u53e4\",\\n                    \"value\": 131\\n                },\\n                {\\n                    \"name\": \"\\\\u6fb3\\\\u95e8\",\\n                    \"value\": 130\\n                },\\n                {\\n                    \"name\": \"\\\\u9ed1\\\\u9f99\\\\u6c5f\",\\n                    \"value\": 116\\n                },\\n                {\\n                    \"name\": \"\\\\u6cb3\\\\u5317\",\\n                    \"value\": 113\\n                },\\n                {\\n                    \"name\": \"\\\\u5409\\\\u6797\",\\n                    \"value\": 109\\n                },\\n                {\\n                    \"name\": \"\\\\u5317\\\\u4eac\",\\n                    \"value\": 100\\n                },\\n                {\\n                    \"name\": \"\\\\u5c71\\\\u897f\",\\n                    \"value\": 100\\n                },\\n                {\\n                    \"name\": \"\\\\u6e56\\\\u5357\",\\n                    \"value\": 95\\n                },\\n                {\\n                    \"name\": \"\\\\u6c5f\\\\u82cf\",\\n                    \"value\": 87\\n                },\\n                {\\n                    \"name\": \"\\\\u4e0a\\\\u6d77\",\\n                    \"value\": 82\\n                },\\n                {\\n                    \"name\": \"\\\\u9999\\\\u6e2f\",\\n                    \"value\": 77\\n                },\\n                {\\n                    \"name\": \"\\\\u4e91\\\\u5357\",\\n                    \"value\": 72\\n                },\\n                {\\n                    \"name\": \"\\\\u6c5f\\\\u897f\",\\n                    \"value\": 70\\n                },\\n                {\\n                    \"name\": \"\\\\u5c71\\\\u4e1c\",\\n                    \"value\": 59\\n                },\\n                {\\n                    \"name\": \"\\\\u6d59\\\\u6c5f\",\\n                    \"value\": 57\\n                },\\n                {\\n                    \"name\": \"\\\\u9655\\\\u897f\",\\n                    \"value\": 54\\n                },\\n                {\\n                    \"name\": \"\\\\u9752\\\\u6d77\",\\n                    \"value\": 49\\n                },\\n                {\\n                    \"name\": \"\\\\u5e7f\\\\u4e1c\",\\n                    \"value\": 49\\n                },\\n                {\\n                    \"name\": \"\\\\u6e56\\\\u5317\",\\n                    \"value\": 47\\n                },\\n                {\\n                    \"name\": \"\\\\u5b89\\\\u5fbd\",\\n                    \"value\": 46\\n                },\\n                {\\n                    \"name\": \"\\\\u56db\\\\u5ddd\",\\n                    \"value\": 45\\n                },\\n                {\\n                    \"name\": \"\\\\u6d77\\\\u5357\",\\n                    \"value\": 44\\n                },\\n                {\\n                    \"name\": \"\\\\u5929\\\\u6d25\",\\n                    \"value\": 43\\n                },\\n                {\\n                    \"name\": \"\\\\u8d35\\\\u5dde\",\\n                    \"value\": 43\\n                },\\n                {\\n                    \"name\": \"\\\\u798f\\\\u5efa\",\\n                    \"value\": 40\\n                },\\n                {\\n                    \"name\": \"\\\\u7518\\\\u8083\",\\n                    \"value\": 35\\n                },\\n                {\\n                    \"name\": \"\\\\u6cb3\\\\u5357\",\\n                    \"value\": 33\\n                },\\n                {\\n                    \"name\": \"\\\\u65b0\\\\u7586\",\\n                    \"value\": 33\\n                },\\n                {\\n                    \"name\": \"\\\\u5b81\\\\u590f\\\\u56de\\\\u65cf\\\\u81ea\\\\u6cbb\",\\n                    \"value\": 28\\n                },\\n                {\\n                    \"name\": \"\\\\u5e7f\\\\u897f\\\\u58ee\\\\u65cf\\\\u81ea\\\\u6cbb\",\\n                    \"value\": 24\\n                },\\n                {\\n                    \"name\": \"\\\\u91cd\\\\u5e86\",\\n                    \"value\": 23\\n                },\\n                {\\n                    \"name\": \"\\\\u9493\\\\u9c7c\",\\n                    \"value\": 10\\n                },\\n                {\\n                    \"name\": \"\\\\u65b0\\\\u52a0\",\\n                    \"value\": 4\\n                },\\n                {\\n                    \"name\": \"\\\\u9996\\\\u5c14\\\\uff08\\\\u6c49\\\\u57ce\",\\n                    \"value\": 3\\n                },\\n                {\\n                    \"name\": \"\\\\u65e5\",\\n                    \"value\": 3\\n                },\\n                {\\n                    \"name\": \"Ontari\",\\n                    \"value\": 3\\n                },\\n                {\\n                    \"name\": \"\\\\u6fb3\\\\u5927\\\\u5229\",\\n                    \"value\": 2\\n                },\\n                {\\n                    \"name\": \"\\\\u7f05\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"Englan\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"\\\\u66fc\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"\\\\u5fb7\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"Stockhol\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"Basse-Normandi\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"\\\\u795e\\\\u5948\\\\u5ddd\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"\\\\u7ef4\\\\u591a\\\\u5229\\\\u4e9a\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"\\\\u82f1\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"Bayer\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"\\\\u8d8a\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"Waikat\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"\\\\u52a0\\\\u62ff\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"\\\\u65b0\\\\u5357\\\\u5a01\\\\u5c14\\\\u58eb\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"Baden-Wurttember\",\\n                    \"value\": 1\\n                },\\n                {\\n                    \"name\": \"\\\\u7f8e\",\\n                    \"value\": 1\\n                }\\n            ],\\n            \"roam\": true,\\n            \"zoom\": 1,\\n            \"showLegendSymbol\": true,\\n            \"emphasis\": {}\\n        }\\n    ],\\n    \"legend\": [\\n        {\\n            \"data\": [\\n                \"\\\\u5355\\\\u8eab\\\\u59b9\\\\u5b50\\\\u533a\\\\u57df\\\\u5206\\\\u5e03\"\\n            ],\\n            \"selected\": {\\n                \"\\\\u5355\\\\u8eab\\\\u59b9\\\\u5b50\\\\u533a\\\\u57df\\\\u5206\\\\u5e03\": true\\n            },\\n            \"show\": true,\\n            \"padding\": 5,\\n            \"itemGap\": 10,\\n            \"itemWidth\": 25,\\n            \"itemHeight\": 14\\n        }\\n    ],\\n    \"tooltip\": {\\n        \"show\": true,\\n        \"trigger\": \"item\",\\n        \"triggerOn\": \"mousemove|click\",\\n        \"axisPointer\": {\\n            \"type\": \"line\"\\n        },\\n        \"showContent\": true,\\n        \"alwaysShowContent\": false,\\n        \"showDelay\": 0,\\n        \"hideDelay\": 100,\\n        \"textStyle\": {\\n            \"fontSize\": 14\\n        },\\n        \"borderWidth\": 0,\\n        \"padding\": 5\\n    },\\n    \"title\": [\\n        {\\n            \"padding\": 5,\\n            \"itemGap\": 10\\n        }\\n    ],\\n    \"visualMap\": {\\n        \"show\": true,\\n        \"type\": \"continuous\",\\n        \"min\": 0,\\n        \"max\": 300,\\n        \"inRange\": {\\n            \"color\": [\\n                \"#50a3ba\",\\n                \"#eac763\",\\n                \"#d94e5d\"\\n            ]\\n        },\\n        \"calculable\": true,\\n        \"inverse\": false,\\n        \"splitNumber\": 5,\\n        \"orient\": \"vertical\",\\n        \"showLabel\": true,\\n        \"itemWidth\": 20,\\n        \"itemHeight\": 140,\\n        \"borderWidth\": 0\\n    }\\n};\\n        chart_f913eb2e768446f3a17ff43778e617d1.setOption(option_f913eb2e768446f3a17ff43778e617d1);\\n    </script>\\n<br/>                <div id=\"1c0310c0a4154faebef431ccf9e849eb\" class=\"chart-container\" style=\"position: absolute; width: 945px; height: 346px; top: 917.2000122070312px; left: -24px;\"></div>\\n    <script>\\n        var chart_1c0310c0a4154faebef431ccf9e849eb = echarts.init(\\n            document.getElementById(\\'1c0310c0a4154faebef431ccf9e849eb\\'), \\'white\\', {renderer: \\'canvas\\'});\\n        var option_1c0310c0a4154faebef431ccf9e849eb = {\\n    \"animation\": true,\\n    \"animationThreshold\": 2000,\\n    \"animationDuration\": 1000,\\n    \"animationEasing\": \"cubicOut\",\\n    \"animationDelay\": 0,\\n    \"animationDurationUpdate\": 300,\\n    \"animationEasingUpdate\": \"cubicOut\",\\n    \"animationDelayUpdate\": 0,\\n    \"color\": [\\n        \"#c23531\",\\n        \"#2f4554\",\\n        \"#61a0a8\",\\n        \"#d48265\",\\n        \"#749f83\",\\n        \"#ca8622\",\\n        \"#bda29a\",\\n        \"#6e7074\",\\n        \"#546570\",\\n        \"#c4ccd3\",\\n        \"#f05b72\",\\n        \"#ef5b9c\",\\n        \"#f47920\",\\n        \"#905a3d\",\\n        \"#fab27b\",\\n        \"#2a5caa\",\\n        \"#444693\",\\n        \"#726930\",\\n        \"#b2d235\",\\n        \"#6d8346\",\\n        \"#ac6767\",\\n        \"#1d953f\",\\n        \"#6950a1\",\\n        \"#918597\"\\n    ],\\n    \"series\": [\\n        {\\n            \"type\": \"bar\",\\n            \"name\": \"\\\\u6c42\\\\u5076\\\\u5973\\\\u6027\\\\u5b66\\\\u5386\\\\u60c5\\\\u51b5\",\\n            \"legendHoverLink\": true,\\n            \"data\": [\\n                739,\\n                626,\\n                523,\\n                443,\\n                305,\\n                119,\\n                72\\n            ],\\n            \"showBackground\": false,\\n            \"barMinHeight\": 0,\\n            \"barCategoryGap\": \"20%\",\\n            \"barGap\": \"30%\",\\n            \"large\": false,\\n            \"largeThreshold\": 400,\\n            \"seriesLayoutBy\": \"column\",\\n            \"datasetIndex\": 0,\\n            \"clip\": true,\\n            \"zlevel\": 0,\\n            \"z\": 2,\\n            \"label\": {\\n                \"show\": true,\\n                \"position\": \"top\",\\n                \"margin\": 8\\n            }\\n        }\\n    ],\\n    \"legend\": [\\n        {\\n            \"data\": [\\n                \"\\\\u6c42\\\\u5076\\\\u5973\\\\u6027\\\\u5b66\\\\u5386\\\\u60c5\\\\u51b5\"\\n            ],\\n            \"selected\": {\\n                \"\\\\u6c42\\\\u5076\\\\u5973\\\\u6027\\\\u5b66\\\\u5386\\\\u60c5\\\\u51b5\": true\\n            }\\n        }\\n    ],\\n    \"tooltip\": {\\n        \"show\": true,\\n        \"trigger\": \"item\",\\n        \"triggerOn\": \"mousemove|click\",\\n        \"axisPointer\": {\\n            \"type\": \"line\"\\n        },\\n        \"showContent\": true,\\n        \"alwaysShowContent\": false,\\n        \"showDelay\": 0,\\n        \"hideDelay\": 100,\\n        \"textStyle\": {\\n            \"fontSize\": 14\\n        },\\n        \"borderWidth\": 0,\\n        \"padding\": 5\\n    },\\n    \"xAxis\": [\\n        {\\n            \"show\": true,\\n            \"scale\": false,\\n            \"nameLocation\": \"end\",\\n            \"nameGap\": 15,\\n            \"gridIndex\": 0,\\n            \"inverse\": false,\\n            \"offset\": 0,\\n            \"splitNumber\": 5,\\n            \"minInterval\": 0,\\n            \"splitLine\": {\\n                \"show\": false,\\n                \"lineStyle\": {\\n                    \"show\": true,\\n                    \"width\": 1,\\n                    \"opacity\": 1,\\n                    \"curveness\": 0,\\n                    \"type\": \"solid\"\\n                }\\n            },\\n            \"data\": [\\n                \"\\\\u5927\\\\u4e13\",\\n                \"\\\\u672c\\\\u79d1\",\\n                \"\\\\u9ad8\\\\u4e2d\",\\n                \"\\\\u521d\\\\u4e2d\",\\n                \"\\\\u4e2d\\\\u4e13/\\\\u804c\\\\u9ad8/\\\\u6280\\\\u6821\",\\n                \"\\\\u7855\\\\u58eb\",\\n                \"\\\\u535a\\\\u58eb\"\\n            ]\\n        }\\n    ],\\n    \"yAxis\": [\\n        {\\n            \"show\": true,\\n            \"scale\": false,\\n            \"nameLocation\": \"end\",\\n            \"nameGap\": 15,\\n            \"gridIndex\": 0,\\n            \"inverse\": false,\\n            \"offset\": 0,\\n            \"splitNumber\": 5,\\n            \"minInterval\": 0,\\n            \"splitLine\": {\\n                \"show\": false,\\n                \"lineStyle\": {\\n                    \"show\": true,\\n                    \"width\": 1,\\n                    \"opacity\": 1,\\n                    \"curveness\": 0,\\n                    \"type\": \"solid\"\\n                }\\n            }\\n        }\\n    ]\\n};\\n        chart_1c0310c0a4154faebef431ccf9e849eb.setOption(option_1c0310c0a4154faebef431ccf9e849eb);\\n    </script>\\n<br/>                <div id=\"81bcf4661667480e8ae0f98f955bd5ec\" class=\"chart-container\" style=\"position: absolute; width: 708px; height: 352px; top: 1308px; left: 6px;\"></div>\\n    <script>\\n        var chart_81bcf4661667480e8ae0f98f955bd5ec = echarts.init(\\n            document.getElementById(\\'81bcf4661667480e8ae0f98f955bd5ec\\'), \\'white\\', {renderer: \\'canvas\\'});\\n        var option_81bcf4661667480e8ae0f98f955bd5ec = {\\n    \"animation\": true,\\n    \"animationThreshold\": 2000,\\n    \"animationDuration\": 1000,\\n    \"animationEasing\": \"cubicOut\",\\n    \"animationDelay\": 0,\\n    \"animationDurationUpdate\": 300,\\n    \"animationEasingUpdate\": \"cubicOut\",\\n    \"animationDelayUpdate\": 0,\\n    \"color\": [\\n        \"#c23531\",\\n        \"#2f4554\",\\n        \"#61a0a8\",\\n        \"#d48265\",\\n        \"#749f83\",\\n        \"#ca8622\",\\n        \"#bda29a\",\\n        \"#6e7074\",\\n        \"#546570\",\\n        \"#c4ccd3\",\\n        \"#f05b72\",\\n        \"#ef5b9c\",\\n        \"#f47920\",\\n        \"#905a3d\",\\n        \"#fab27b\",\\n        \"#2a5caa\",\\n        \"#444693\",\\n        \"#726930\",\\n        \"#b2d235\",\\n        \"#6d8346\",\\n        \"#ac6767\",\\n        \"#1d953f\",\\n        \"#6950a1\",\\n        \"#918597\"\\n    ],\\n    \"series\": [\\n        {\\n            \"type\": \"bar\",\\n            \"name\": \"\\\\u5355\\\\u8eab\\\\u5973\\\\u6027\\\\u8eab\\\\u9ad8Top10\",\\n            \"legendHoverLink\": true,\\n            \"data\": [\\n                455,\\n                248,\\n                202,\\n                164,\\n                151,\\n                138,\\n                136,\\n                134,\\n                128,\\n                118\\n            ],\\n            \"showBackground\": false,\\n            \"barMinHeight\": 0,\\n            \"barCategoryGap\": \"20%\",\\n            \"barGap\": \"30%\",\\n            \"large\": false,\\n            \"largeThreshold\": 400,\\n            \"seriesLayoutBy\": \"column\",\\n            \"datasetIndex\": 0,\\n            \"clip\": true,\\n            \"zlevel\": 0,\\n            \"z\": 2,\\n            \"label\": {\\n                \"show\": true,\\n                \"position\": \"top\",\\n                \"margin\": 8\\n            }\\n        }\\n    ],\\n    \"legend\": [\\n        {\\n            \"data\": [\\n                \"\\\\u5355\\\\u8eab\\\\u5973\\\\u6027\\\\u8eab\\\\u9ad8Top10\"\\n            ],\\n            \"selected\": {\\n                \"\\\\u5355\\\\u8eab\\\\u5973\\\\u6027\\\\u8eab\\\\u9ad8Top10\": true\\n            },\\n            \"show\": true,\\n            \"padding\": 5,\\n            \"itemGap\": 10,\\n            \"itemWidth\": 25,\\n            \"itemHeight\": 14\\n        }\\n    ],\\n    \"tooltip\": {\\n        \"show\": true,\\n        \"trigger\": \"item\",\\n        \"triggerOn\": \"mousemove|click\",\\n        \"axisPointer\": {\\n            \"type\": \"line\"\\n        },\\n        \"showContent\": true,\\n        \"alwaysShowContent\": false,\\n        \"showDelay\": 0,\\n        \"hideDelay\": 100,\\n        \"textStyle\": {\\n            \"fontSize\": 14\\n        },\\n        \"borderWidth\": 0,\\n        \"padding\": 5\\n    },\\n    \"xAxis\": [\\n        {\\n            \"show\": true,\\n            \"scale\": false,\\n            \"nameLocation\": \"end\",\\n            \"nameGap\": 15,\\n            \"gridIndex\": 0,\\n            \"axisLabel\": {\\n                \"rotate\": 60\\n            },\\n            \"inverse\": false,\\n            \"offset\": 0,\\n            \"splitNumber\": 5,\\n            \"minInterval\": 0,\\n            \"splitLine\": {\\n                \"show\": false,\\n                \"lineStyle\": {\\n                    \"show\": true,\\n                    \"width\": 1,\\n                    \"opacity\": 1,\\n                    \"curveness\": 0,\\n                    \"type\": \"solid\"\\n                }\\n            },\\n            \"data\": [\\n                160,\\n                165,\\n                163,\\n                162,\\n                168,\\n                164,\\n                158,\\n                166,\\n                167,\\n                161\\n            ]\\n        }\\n    ],\\n    \"yAxis\": [\\n        {\\n            \"show\": true,\\n            \"scale\": false,\\n            \"nameLocation\": \"end\",\\n            \"nameGap\": 15,\\n            \"gridIndex\": 0,\\n            \"inverse\": false,\\n            \"offset\": 0,\\n            \"splitNumber\": 5,\\n            \"minInterval\": 0,\\n            \"splitLine\": {\\n                \"show\": false,\\n                \"lineStyle\": {\\n                    \"show\": true,\\n                    \"width\": 1,\\n                    \"opacity\": 1,\\n                    \"curveness\": 0,\\n                    \"type\": \"solid\"\\n                }\\n            }\\n        }\\n    ],\\n    \"title\": [\\n        {\\n            \"padding\": 5,\\n            \"itemGap\": 10\\n        }\\n    ],\\n    \"dataZoom\": [\\n        {\\n            \"show\": true,\\n            \"type\": \"slider\",\\n            \"realtime\": true,\\n            \"start\": 20,\\n            \"end\": 80,\\n            \"orient\": \"horizontal\",\\n            \"zoomLock\": false,\\n            \"bottom\": 0,\\n            \"filterMode\": \"filter\"\\n        }\\n    ]\\n};\\n        chart_81bcf4661667480e8ae0f98f955bd5ec.setOption(option_81bcf4661667480e8ae0f98f955bd5ec);\\n    </script>\\n<br/>                <div id=\"f7a51b3ce67d403a9b1bcbc635d6c665\" class=\"chart-container\" style=\"position: absolute; width: 745px; height: 350px; top: 1307.800048828125px; left: 749px;\"></div>\\n    <script>\\n        var chart_f7a51b3ce67d403a9b1bcbc635d6c665 = echarts.init(\\n            document.getElementById(\\'f7a51b3ce67d403a9b1bcbc635d6c665\\'), \\'white\\', {renderer: \\'canvas\\'});\\n        var option_f7a51b3ce67d403a9b1bcbc635d6c665 = {\\n    \"animation\": true,\\n    \"animationThreshold\": 2000,\\n    \"animationDuration\": 1000,\\n    \"animationEasing\": \"cubicOut\",\\n    \"animationDelay\": 0,\\n    \"animationDurationUpdate\": 300,\\n    \"animationEasingUpdate\": \"cubicOut\",\\n    \"animationDelayUpdate\": 0,\\n    \"color\": [\\n        \"#c23531\",\\n        \"#2f4554\",\\n        \"#61a0a8\",\\n        \"#d48265\",\\n        \"#749f83\",\\n        \"#ca8622\",\\n        \"#bda29a\",\\n        \"#6e7074\",\\n        \"#546570\",\\n        \"#c4ccd3\",\\n        \"#f05b72\",\\n        \"#ef5b9c\",\\n        \"#f47920\",\\n        \"#905a3d\",\\n        \"#fab27b\",\\n        \"#2a5caa\",\\n        \"#444693\",\\n        \"#726930\",\\n        \"#b2d235\",\\n        \"#6d8346\",\\n        \"#ac6767\",\\n        \"#1d953f\",\\n        \"#6950a1\",\\n        \"#918597\"\\n    ],\\n    \"series\": [\\n        {\\n            \"type\": \"bar\",\\n            \"name\": \"\\\\u5bf9\\\\u8c61\\\\u7537\\\\u6027\\\\u8eab\\\\u9ad8\\\\u5747\\\\u503cTop10\\\\uff08\\\\u6837\\\\u672c\\\\u6574\\\\u4f53\\\\u5747\\\\u503c\\\\uff1a178cm\\\\uff09\",\\n            \"legendHoverLink\": true,\\n            \"data\": [\\n                573,\\n                454,\\n                180,\\n                136,\\n                90,\\n                86,\\n                81,\\n                74,\\n                65,\\n                61\\n            ],\\n            \"showBackground\": false,\\n            \"barMinHeight\": 0,\\n            \"barCategoryGap\": \"20%\",\\n            \"barGap\": \"30%\",\\n            \"large\": false,\\n            \"largeThreshold\": 400,\\n            \"seriesLayoutBy\": \"column\",\\n            \"datasetIndex\": 0,\\n            \"clip\": true,\\n            \"zlevel\": 0,\\n            \"z\": 2,\\n            \"label\": {\\n                \"show\": true,\\n                \"position\": \"right\",\\n                \"margin\": 8\\n            },\\n            \"rippleEffect\": {\\n                \"show\": true,\\n                \"brushType\": \"stroke\",\\n                \"scale\": 2.5,\\n                \"period\": 4\\n            }\\n        }\\n    ],\\n    \"legend\": [\\n        {\\n            \"data\": [\\n                \"\\\\u5bf9\\\\u8c61\\\\u7537\\\\u6027\\\\u8eab\\\\u9ad8\\\\u5747\\\\u503cTop10\\\\uff08\\\\u6837\\\\u672c\\\\u6574\\\\u4f53\\\\u5747\\\\u503c\\\\uff1a178cm\\\\uff09\"\\n            ],\\n            \"selected\": {\\n                \"\\\\u5bf9\\\\u8c61\\\\u7537\\\\u6027\\\\u8eab\\\\u9ad8\\\\u5747\\\\u503cTop10\\\\uff08\\\\u6837\\\\u672c\\\\u6574\\\\u4f53\\\\u5747\\\\u503c\\\\uff1a178cm\\\\uff09\": true\\n            }\\n        }\\n    ],\\n    \"tooltip\": {\\n        \"show\": true,\\n        \"trigger\": \"item\",\\n        \"triggerOn\": \"mousemove|click\",\\n        \"axisPointer\": {\\n            \"type\": \"line\"\\n        },\\n        \"showContent\": true,\\n        \"alwaysShowContent\": false,\\n        \"showDelay\": 0,\\n        \"hideDelay\": 100,\\n        \"textStyle\": {\\n            \"fontSize\": 14\\n        },\\n        \"borderWidth\": 0,\\n        \"padding\": 5\\n    },\\n    \"xAxis\": [\\n        {\\n            \"show\": true,\\n            \"scale\": false,\\n            \"nameLocation\": \"end\",\\n            \"nameGap\": 15,\\n            \"gridIndex\": 0,\\n            \"inverse\": false,\\n            \"offset\": 0,\\n            \"splitNumber\": 5,\\n            \"minInterval\": 0,\\n            \"splitLine\": {\\n                \"show\": false,\\n                \"lineStyle\": {\\n                    \"show\": true,\\n                    \"width\": 1,\\n                    \"opacity\": 1,\\n                    \"curveness\": 0,\\n                    \"type\": \"solid\"\\n                }\\n            }\\n        }\\n    ],\\n    \"yAxis\": [\\n        {\\n            \"show\": true,\\n            \"scale\": false,\\n            \"nameLocation\": \"end\",\\n            \"nameGap\": 15,\\n            \"gridIndex\": 0,\\n            \"inverse\": false,\\n            \"offset\": 0,\\n            \"splitNumber\": 5,\\n            \"minInterval\": 0,\\n            \"splitLine\": {\\n                \"show\": false,\\n                \"lineStyle\": {\\n                    \"show\": true,\\n                    \"width\": 1,\\n                    \"opacity\": 1,\\n                    \"curveness\": 0,\\n                    \"type\": \"solid\"\\n                }\\n            },\\n            \"data\": [\\n                185.5,\\n                180.0,\\n                172.5,\\n                177.5,\\n                170.0,\\n                175.0,\\n                175.5,\\n                171.5,\\n                178.5,\\n                176.5\\n            ]\\n        }\\n    ]\\n};\\n        chart_f7a51b3ce67d403a9b1bcbc635d6c665.setOption(option_f7a51b3ce67d403a9b1bcbc635d6c665);\\n    </script>\\n<br/>                <div id=\"ff59b35d3b44475ebad8c3add01310d6\" class=\"chart-container\" style=\"position: absolute; width: 833px; height: 350px; top: 1733.5999755859375px; left: 342px;\"></div>\\n    <script>\\n        var chart_ff59b35d3b44475ebad8c3add01310d6 = echarts.init(\\n            document.getElementById(\\'ff59b35d3b44475ebad8c3add01310d6\\'), \\'white\\', {renderer: \\'canvas\\'});\\n        var option_ff59b35d3b44475ebad8c3add01310d6 = {\\n    \"animation\": true,\\n    \"animationThreshold\": 2000,\\n    \"animationDuration\": 1000,\\n    \"animationEasing\": \"cubicOut\",\\n    \"animationDelay\": 0,\\n    \"animationDurationUpdate\": 300,\\n    \"animationEasingUpdate\": \"cubicOut\",\\n    \"animationDelayUpdate\": 0,\\n    \"color\": [\\n        \"#c23531\",\\n        \"#2f4554\",\\n        \"#61a0a8\",\\n        \"#d48265\",\\n        \"#749f83\",\\n        \"#ca8622\",\\n        \"#bda29a\",\\n        \"#6e7074\",\\n        \"#546570\",\\n        \"#c4ccd3\",\\n        \"#f05b72\",\\n        \"#ef5b9c\",\\n        \"#f47920\",\\n        \"#905a3d\",\\n        \"#fab27b\",\\n        \"#2a5caa\",\\n        \"#444693\",\\n        \"#726930\",\\n        \"#b2d235\",\\n        \"#6d8346\",\\n        \"#ac6767\",\\n        \"#1d953f\",\\n        \"#6950a1\",\\n        \"#918597\"\\n    ],\\n    \"series\": [\\n        {\\n            \"type\": \"pie\",\\n            \"name\": \"\\\\u76ee\\\\u6807\\\\u5bf9\\\\u8c61\\\\u7537\\\\u6027\\\\u5e73\\\\u5747\\\\u5de5\\\\u8d44\\\\u7c97\\\\u7565\\\\u5206\\\\u5e03\\\\uff08\\\\u6837\\\\u672c\\\\u5747\\\\u503c\\\\uff1a12437\\\\uff09\",\\n            \"clockwise\": true,\\n            \"data\": [\\n                {\\n                    \"name\": 10000,\\n                    \"value\": 158\\n                },\\n                {\\n                    \"name\": 7500,\\n                    \"value\": 107\\n                },\\n                {\\n                    \"name\": 20000,\\n                    \"value\": 74\\n                },\\n                {\\n                    \"name\": 5000,\\n                    \"value\": 73\\n                },\\n                {\\n                    \"name\": 3500,\\n                    \"value\": 66\\n                }\\n            ],\\n            \"radius\": [\\n                \"40%\",\\n                \"75%\"\\n            ],\\n            \"center\": [\\n                \"50%\",\\n                \"50%\"\\n            ],\\n            \"label\": {\\n                \"show\": true,\\n                \"position\": \"top\",\\n                \"margin\": 8\\n            }\\n        }\\n    ],\\n    \"legend\": [\\n        {\\n            \"data\": [\\n                10000,\\n                7500,\\n                20000,\\n                5000,\\n                3500\\n            ],\\n            \"selected\": {},\\n            \"show\": true,\\n            \"padding\": 5,\\n            \"itemGap\": 10,\\n            \"itemWidth\": 25,\\n            \"itemHeight\": 14\\n        }\\n    ],\\n    \"tooltip\": {\\n        \"show\": true,\\n        \"trigger\": \"item\",\\n        \"triggerOn\": \"mousemove|click\",\\n        \"axisPointer\": {\\n            \"type\": \"line\"\\n        },\\n        \"showContent\": true,\\n        \"alwaysShowContent\": false,\\n        \"showDelay\": 0,\\n        \"hideDelay\": 100,\\n        \"textStyle\": {\\n            \"fontSize\": 14\\n        },\\n        \"borderWidth\": 0,\\n        \"padding\": 5\\n    },\\n    \"title\": [\\n        {\\n            \"text\": \"\\\\u5168\\\\u6837\\\\u672c\\\\u5747\\\\u503c\\\\uff1a12437\\\\u5143\",\\n            \"padding\": 5,\\n            \"itemGap\": 10\\n        }\\n    ]\\n};\\n        chart_ff59b35d3b44475ebad8c3add01310d6.setOption(option_ff59b35d3b44475ebad8c3add01310d6);\\n    </script>\\n<br/>                <div id=\"38c3b33aed884ed0a2183200545d06a1\" class=\"chart-container\" style=\"position: absolute; width: 588px; height: 347px; top: 917.4000244140625px; left: 932px;\"></div>\\n    <script>\\n        var chart_38c3b33aed884ed0a2183200545d06a1 = echarts.init(\\n            document.getElementById(\\'38c3b33aed884ed0a2183200545d06a1\\'), \\'white\\', {renderer: \\'canvas\\'});\\n        var option_38c3b33aed884ed0a2183200545d06a1 = {\\n    \"animation\": true,\\n    \"animationThreshold\": 2000,\\n    \"animationDuration\": 1000,\\n    \"animationEasing\": \"cubicOut\",\\n    \"animationDelay\": 0,\\n    \"animationDurationUpdate\": 300,\\n    \"animationEasingUpdate\": \"cubicOut\",\\n    \"animationDelayUpdate\": 0,\\n    \"color\": [\\n        \"#c23531\",\\n        \"#2f4554\",\\n        \"#61a0a8\",\\n        \"#d48265\",\\n        \"#749f83\",\\n        \"#ca8622\",\\n        \"#bda29a\",\\n        \"#6e7074\",\\n        \"#546570\",\\n        \"#c4ccd3\",\\n        \"#f05b72\",\\n        \"#ef5b9c\",\\n        \"#f47920\",\\n        \"#905a3d\",\\n        \"#fab27b\",\\n        \"#2a5caa\",\\n        \"#444693\",\\n        \"#726930\",\\n        \"#b2d235\",\\n        \"#6d8346\",\\n        \"#ac6767\",\\n        \"#1d953f\",\\n        \"#6950a1\",\\n        \"#918597\"\\n    ],\\n    \"series\": [\\n        {\\n            \"type\": \"wordCloud\",\\n            \"shape\": \"circle\",\\n            \"rotationRange\": [\\n                -90,\\n                90\\n            ],\\n            \"rotationStep\": 45,\\n            \"girdSize\": 20,\\n            \"sizeRange\": [\\n                20,\\n                40\\n            ],\\n            \"data\": [\\n                {\\n                    \"name\": \"\\\\u5e0c\\\\u671b\",\\n                    \"value\": 24021,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(112,83,50)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u627e\\\\u5230\",\\n                    \"value\": 11607,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(4,12,147)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u8fc7\\\\u5ba2\",\\n                    \"value\": 9220,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(49,69,42)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u76fc\\\\u671b\",\\n                    \"value\": 9039,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(135,107,158)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u751f\\\\u6d3b\",\\n                    \"value\": 8837,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(107,145,31)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u671f\\\\u5f85\",\\n                    \"value\": 7876,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(23,50,153)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7231\",\\n                    \"value\": 7315,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(50,131,155)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u559c\\\\u6b22\",\\n                    \"value\": 6398,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(89,150,148)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5bfb\\\\u627e\",\\n                    \"value\": 6192,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(95,84,137)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u73cd\\\\u60dc\",\\n                    \"value\": 5762,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(140,61,138)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u6211\\\\u4f1a\",\\n                    \"value\": 5676,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(35,102,17)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u771f\\\\u8bda\",\\n                    \"value\": 5633,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(125,37,125)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u52aa\\\\u529b\",\\n                    \"value\": 5460,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(76,28,39)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u653e\\\\u624b\",\\n                    \"value\": 5154,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(85,77,8)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u9633\\\\u5149\",\\n                    \"value\": 4873,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(82,128,61)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u670b\\\\u53cb\",\\n                    \"value\": 4685,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(111,148,29)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u81ea\\\\u4fe1\",\\n                    \"value\": 4598,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(42,67,41)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u76f8\\\\u6276\",\\n                    \"value\": 4311,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(138,68,13)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u76f8\\\\u6301\",\\n                    \"value\": 4292,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(8,99,76)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5230\\\\u6765\",\\n                    \"value\": 4036,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(35,150,151)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5efa\\\\u6210\",\\n                    \"value\": 3786,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(92,59,151)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5bb6\\\\u56ed\",\\n                    \"value\": 3786,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(7,118,129)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u6765\\\\u5230\",\\n                    \"value\": 3711,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(49,70,22)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u53d1\\\\u4fe1\",\\n                    \"value\": 3456,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(43,107,154)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5feb\\\\u5feb\",\\n                    \"value\": 3195,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(90,132,18)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"8226\",\\n                    \"value\": 2568,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(140,116,110)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5e74\",\\n                    \"value\": 2553,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(85,45,144)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u4e2d\",\\n                    \"value\": 2432,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(80,57,146)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5584\\\\u826f\",\\n                    \"value\": 2281,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(26,92,20)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5de5\\\\u4f5c\",\\n                    \"value\": 2221,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(37,136,32)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u60f3\",\\n                    \"value\": 2162,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(107,138,81)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u8bf7\",\\n                    \"value\": 2156,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(118,60,0)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5e78\\\\u798f\",\\n                    \"value\": 2023,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(34,66,74)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7537\\\\u58eb\",\\n                    \"value\": 2018,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(64,117,54)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5973\\\\u4eba\",\\n                    \"value\": 1939,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(44,115,98)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7275\\\\u624b\",\\n                    \"value\": 1803,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(143,21,155)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u627e\",\\n                    \"value\": 1752,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(43,151,154)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u4e00\\\\u4f4d\",\\n                    \"value\": 1447,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(68,52,138)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5bb6\\\\u5ead\",\\n                    \"value\": 1419,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(123,111,145)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u9000\\\\u4f11\",\\n                    \"value\": 1318,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(129,136,148)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u97f3\\\\u4e50\",\\n                    \"value\": 1271,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(67,49,23)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u4e00\\\\u8f88\\\\u5b50\",\\n                    \"value\": 1209,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(40,47,150)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u6027\\\\u683c\",\\n                    \"value\": 1118,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(62,154,14)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u8eab\\\\u4f53\\\\u5065\\\\u5eb7\",\\n                    \"value\": 1117,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(87,111,19)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u4e1a\\\\u4f59\\\\u65f6\\\\u95f4\",\\n                    \"value\": 1115,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(12,15,49)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u4eba\\\\u751f\",\\n                    \"value\": 1098,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(144,102,111)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u8d23\\\\u4efb\\\\u5fc3\",\\n                    \"value\": 1082,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(94,17,69)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u91cc\",\\n                    \"value\": 1079,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(9,71,110)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u771f\\\\u5fc3\",\\n                    \"value\": 1053,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(153,94,139)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u505a\",\\n                    \"value\": 1050,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(30,62,100)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u52ff\\\\u6270\",\\n                    \"value\": 1046,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(14,74,37)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7537\\\\u4eba\",\\n                    \"value\": 1031,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(74,104,142)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u76f8\\\\u4e92\",\\n                    \"value\": 1024,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(153,102,123)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5e74\\\\u9f84\",\\n                    \"value\": 1010,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(122,0,67)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5e73\\\\u65f6\",\\n                    \"value\": 995,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(12,105,52)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5973\\\\u5b69\",\\n                    \"value\": 982,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(139,5,105)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u8bf4\",\\n                    \"value\": 969,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(76,120,40)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7406\\\\u60f3\",\\n                    \"value\": 924,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(87,22,132)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u76f8\\\\u4f34\",\\n                    \"value\": 908,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(133,92,108)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5730\\\\u70b9\",\\n                    \"value\": 899,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(46,50,160)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u4fe1\\\\u606f\",\\n                    \"value\": 895,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(154,45,3)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5177\\\\u5907\",\\n                    \"value\": 876,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(5,105,57)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u65f6\\\\u95f4\",\\n                    \"value\": 850,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(34,46,12)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u8c22\\\\u8c22\",\\n                    \"value\": 840,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(12,79,48)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u672a\\\\u6765\",\\n                    \"value\": 830,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(121,127,137)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5f00\\\\u6717\",\\n                    \"value\": 819,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(2,125,41)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u6276\\\\u6301\",\\n                    \"value\": 802,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(112,4,125)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7f51\\\\u80fd\",\\n                    \"value\": 786,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(87,84,8)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5171\\\\u5ea6\",\\n                    \"value\": 784,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(138,30,140)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u8d70\",\\n                    \"value\": 771,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(85,37,36)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5e38\\\\u4f4f\",\\n                    \"value\": 762,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(124,134,28)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5feb\\\\u4e50\",\\n                    \"value\": 760,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(114,155,19)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5c81\",\\n                    \"value\": 758,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(93,96,123)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7231\\\\u60c5\",\\n                    \"value\": 744,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(44,122,122)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7ed3\\\\u5a5a\",\\n                    \"value\": 743,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(76,88,13)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u65c5\\\\u6e38\",\\n                    \"value\": 729,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(5,120,122)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u4e08\\\\u592b\",\\n                    \"value\": 727,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(74,58,11)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u8d44\\\\u6599\",\\n                    \"value\": 727,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(159,103,78)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u4f53\\\\u8d34\",\\n                    \"value\": 720,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(22,109,5)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u975e\\\\u8bda\",\\n                    \"value\": 691,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(77,1,141)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7f51\",\\n                    \"value\": 686,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(85,155,84)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u65e5\\\\u5b50\",\\n                    \"value\": 685,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(139,10,159)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u6e29\\\\u67d4\",\\n                    \"value\": 681,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(157,75,84)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u6709\\\\u9650\\\\u516c\\\\u53f8\",\\n                    \"value\": 673,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(119,19,15)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u65b9\\\\u5f0f\",\\n                    \"value\": 669,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(73,37,24)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u770b\\\\u4e66\",\\n                    \"value\": 664,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(56,87,151)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5e73\\\\u53f0\",\\n                    \"value\": 659,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(86,19,47)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u72ec\\\\u7acb\",\\n                    \"value\": 649,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(119,159,42)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u65c5\\\\u884c\",\\n                    \"value\": 648,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(137,107,85)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u4f34\\\\u4fa3\",\\n                    \"value\": 636,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(40,27,15)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5531\\\\u6b4c\",\\n                    \"value\": 636,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(112,136,58)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7b80\\\\u5355\",\\n                    \"value\": 632,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(39,120,107)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7ea6\\\\u4f1a\",\\n                    \"value\": 631,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(114,44,117)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u5305\\\\u5bb9\",\\n                    \"value\": 627,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(84,157,111)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u4e00\\\\u751f\",\\n                    \"value\": 626,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(105,11,71)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"20\",\\n                    \"value\": 626,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(134,119,150)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7b49\\\\u5f85\",\\n                    \"value\": 621,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(105,41,81)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u627e\\\\u4e2a\",\\n                    \"value\": 604,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(54,86,58)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u611f\\\\u60c5\",\\n                    \"value\": 596,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(156,88,132)\"\\n                        }\\n                    }\\n                },\\n                {\\n                    \"name\": \"\\\\u7cbe\\\\u795e\",\\n                    \"value\": 594,\\n                    \"textStyle\": {\\n                        \"normal\": {\\n                            \"color\": \"rgb(105,75,56)\"\\n                        }\\n                    }\\n                }\\n            ],\\n            \"drawOutOfBound\": false,\\n            \"textStyle\": {\\n                \"emphasis\": {}\\n            }\\n        }\\n    ],\\n    \"legend\": [\\n        {\\n            \"data\": [],\\n            \"selected\": {},\\n            \"show\": true,\\n            \"padding\": 5,\\n            \"itemGap\": 10,\\n            \"itemWidth\": 25,\\n            \"itemHeight\": 14\\n        }\\n    ],\\n    \"tooltip\": {\\n        \"show\": true,\\n        \"trigger\": \"item\",\\n        \"triggerOn\": \"mousemove|click\",\\n        \"axisPointer\": {\\n            \"type\": \"line\"\\n        },\\n        \"showContent\": true,\\n        \"alwaysShowContent\": false,\\n        \"showDelay\": 0,\\n        \"hideDelay\": 100,\\n        \"textStyle\": {\\n            \"fontSize\": 14\\n        },\\n        \"borderWidth\": 0,\\n        \"padding\": 5\\n    },\\n    \"title\": [\\n        {\\n            \"text\": \"\\\\u81ea\\\\u6211\\\\u4ecb\\\\u7ecd\",\\n            \"padding\": 5,\\n            \"itemGap\": 10\\n        }\\n    ]\\n};\\n        chart_38c3b33aed884ed0a2183200545d06a1.setOption(option_38c3b33aed884ed0a2183200545d06a1);\\n    </script>\\n<br/>    </div>\\n    <script>\\n            $(\\'#c613177e957e4a58a54c9284b7106519\\').css(\\'border-style\\', \\'dashed\\').css(\\'border-width\\', \\'0px\\');$(\"#c613177e957e4a58a54c9284b7106519>div:nth-child(1)\").width(\"100%\").height(\"100%\");\\n            new ResizeSensor(jQuery(\\'#c613177e957e4a58a54c9284b7106519\\'), function() { chart_c613177e957e4a58a54c9284b7106519.resize()});\\n            $(\\'#6520879c00174b03adaa11a0516b04b7\\').css(\\'border-style\\', \\'dashed\\').css(\\'border-width\\', \\'0px\\');$(\"#6520879c00174b03adaa11a0516b04b7>div:nth-child(1)\").width(\"100%\").height(\"100%\");\\n            new ResizeSensor(jQuery(\\'#6520879c00174b03adaa11a0516b04b7\\'), function() { chart_6520879c00174b03adaa11a0516b04b7.resize()});\\n            $(\\'#f913eb2e768446f3a17ff43778e617d1\\').css(\\'border-style\\', \\'dashed\\').css(\\'border-width\\', \\'0px\\');$(\"#f913eb2e768446f3a17ff43778e617d1>div:nth-child(1)\").width(\"100%\").height(\"100%\");\\n            new ResizeSensor(jQuery(\\'#f913eb2e768446f3a17ff43778e617d1\\'), function() { chart_f913eb2e768446f3a17ff43778e617d1.resize()});\\n            $(\\'#1c0310c0a4154faebef431ccf9e849eb\\').css(\\'border-style\\', \\'dashed\\').css(\\'border-width\\', \\'0px\\');$(\"#1c0310c0a4154faebef431ccf9e849eb>div:nth-child(1)\").width(\"100%\").height(\"100%\");\\n            new ResizeSensor(jQuery(\\'#1c0310c0a4154faebef431ccf9e849eb\\'), function() { chart_1c0310c0a4154faebef431ccf9e849eb.resize()});\\n            $(\\'#81bcf4661667480e8ae0f98f955bd5ec\\').css(\\'border-style\\', \\'dashed\\').css(\\'border-width\\', \\'0px\\');$(\"#81bcf4661667480e8ae0f98f955bd5ec>div:nth-child(1)\").width(\"100%\").height(\"100%\");\\n            new ResizeSensor(jQuery(\\'#81bcf4661667480e8ae0f98f955bd5ec\\'), function() { chart_81bcf4661667480e8ae0f98f955bd5ec.resize()});\\n            $(\\'#f7a51b3ce67d403a9b1bcbc635d6c665\\').css(\\'border-style\\', \\'dashed\\').css(\\'border-width\\', \\'0px\\');$(\"#f7a51b3ce67d403a9b1bcbc635d6c665>div:nth-child(1)\").width(\"100%\").height(\"100%\");\\n            new ResizeSensor(jQuery(\\'#f7a51b3ce67d403a9b1bcbc635d6c665\\'), function() { chart_f7a51b3ce67d403a9b1bcbc635d6c665.resize()});\\n            $(\\'#ff59b35d3b44475ebad8c3add01310d6\\').css(\\'border-style\\', \\'dashed\\').css(\\'border-width\\', \\'0px\\');$(\"#ff59b35d3b44475ebad8c3add01310d6>div:nth-child(1)\").width(\"100%\").height(\"100%\");\\n            new ResizeSensor(jQuery(\\'#ff59b35d3b44475ebad8c3add01310d6\\'), function() { chart_ff59b35d3b44475ebad8c3add01310d6.resize()});\\n            $(\\'#38c3b33aed884ed0a2183200545d06a1\\').css(\\'border-style\\', \\'dashed\\').css(\\'border-width\\', \\'0px\\');$(\"#38c3b33aed884ed0a2183200545d06a1>div:nth-child(1)\").width(\"100%\").height(\"100%\");\\n            new ResizeSensor(jQuery(\\'#38c3b33aed884ed0a2183200545d06a1\\'), function() { chart_38c3b33aed884ed0a2183200545d06a1.resize()});\\n            var charts_id = [\\'c613177e957e4a58a54c9284b7106519\\',\\'6520879c00174b03adaa11a0516b04b7\\',\\'f913eb2e768446f3a17ff43778e617d1\\',\\'1c0310c0a4154faebef431ccf9e849eb\\',\\'81bcf4661667480e8ae0f98f955bd5ec\\',\\'f7a51b3ce67d403a9b1bcbc635d6c665\\',\\'ff59b35d3b44475ebad8c3add01310d6\\',\\'38c3b33aed884ed0a2183200545d06a1\\'];\\nfunction downloadCfg () {\\n    const fileName = \\'chart_config.json\\'\\n    let downLink = document.createElement(\\'a\\')\\n    downLink.download = fileName\\n\\n    let result = []\\n    for(let i=0; i<charts_id.length; i++) {\\n        chart = $(\\'#\\'+charts_id[i])\\n        result.push({\\n            cid: charts_id[i],\\n            width: chart.css(\"width\"),\\n            height: chart.css(\"height\"),\\n            top: chart.offset().top + \"px\",\\n            left: chart.offset().left + \"px\"\\n        })\\n    }\\n\\n    let blob = new Blob([JSON.stringify(result)])\\n    downLink.href = URL.createObjectURL(blob)\\n    document.body.appendChild(downLink)\\n    downLink.click()\\n    document.body.removeChild(downLink)\\n}\\n    </script>\\n</body>\\n</html>\\n'"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Page.save_resize_html('render.html',cfg_file= 'chart_config.json')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
